tcping 0.39 - 汉化版

下载:https://dev.tencent.com/u/iblackly/p/tcping/git/tree/master

╭━━━━╮
┃╭╮╭╮┃
╰╯┃┃╰╋━━┳━━┳┳━╮╭━━╮
╱╱┃┃╱┃╭━┫╭╮┣┫╭╮┫╭╮┃
╱╱┃┃╱┃╰━┫╰╯┃┃┃┃┃╰╯┃
╱╱╰╯╱╰━━┫╭━┻┻╯╰┻━╮┃
╱╱╱╱╱╱╱╱┃┃╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╱╰╯╱╱╱╱╱╰━━╯

名称: Tcping
作者: Eli Fulkerson
更新: http://www.elifulkerson.com/projects
汉化: iblackly http://iblackly.com
--------------------------------------------------------------

用法:
tcping [-选项] 地址 [端口]

用法(完整):
tcping [-t] [-d] [-i interval] [-n times] [-w ms] [-b n] [-r times] [-s] [-v] [-j] [-js size] [-4] [-6] [-c]
[-g count] [-S source_address] [--file] [--tee filename] [-h] [-u] [--post] [--head] [--proxy-port port]
[--proxy-server server] [--proxy-credentials username:password] [-f] server-address [server-port]

选项:
-b 1 使用提示音 (1 不通, 2 通, 3 状态改变, 4 任何状态)
-c 仅在状态改变时输出信息
-d 在行开始显示详细日期时间
-g 5 如果连续丢包5次就终止ping
-i 5 指定发送数据包的间隔(秒)
-j include jitter, using default rolling average
-js 5 include jitter, with a rolling average size of (for instance) 5.
-n 5 指定发送数据包次数
-p 443 强制指定端口
-r 5 每ping5次重新查找主机名
-s ping成功后自动退出
-S _X_ Specify source address _X_. Source must be a valid IP for the client computer.
-t 若要停止发包请键入Ctrl+C
-v 版本信息
-w 0.5 不通时等待时间,tcping不通时默认等待2秒

-4 首选ipv4
-6 首选ipv6

--tee p.txt 将结果输出到指定的文件
--append 将结果追加到 -tee 指定的文件内,不是覆盖原文件内容
--fqdn 在每一行上打印域名(如果有)
--ansi 使用ANSI颜色序列(cygwin)
--color 使用Windows颜色序列
--file 从文件中读取地址并逐行循环
注意: --file 与 -j -c之类的选项不兼容,因为 --file 在不同的地址之间循环
可在文件中指定端口."example.org 443 example.org 21"
或者使用 -p 为文件中所有地址强制指定一个端口

HTTP选项:
-h HTTP mode (use url without http:// for server-address)
-u include target URL on each line
--post 使用POST而不是GET(可避免缓存)
--head 使用HEAD而不是GET
--proxy-server 指定代理服务器
--proxy-port 指定代理端口
--proxy-credentials specify 'Proxy-Authorization: Basic' header in format username:password

调试选项:
-f 强制tcping发送至少一个字节
--header 输出带有详细参数与日期的标头.--tee默认输出标头
--block tcping不通时默认等待2秒.–block 可以把 -w 参数覆盖掉
tcping 1.2.3.4 显然不通但默认会等待2秒
tcping --block -w 0.5 1.2.3.4 会等20秒,而不是0.5秒

如果不指定端口则默认使用80端口!

猜你喜欢

转载自www.cnblogs.com/iblackly/p/11968134.html