tcping安装及使用
1、安装依赖
yum install -y tcptraceroute bc
2、下载tcping
3、重命名为tcping ,放在/usr/bin目录下,然后给权限
cd /usr/bin
chmod +x tcping
4、测试
tcping -d 192.168.1.2 80

tcpping v1.7 Richard van den Berg <richard@vdberg.org>
Usage: tcping [-d] [-c] [-C] [-w sec] [-q num] [-x count] ipaddress [port]
-d print timestamp before every result
-c print a columned result line
-C print in the same format as fping's -C option
-w wait time in seconds (defaults to 3)
-r repeat every n seconds (defaults to 1)
-x repeat n times (defaults to unlimited)
See also: man tcptraceroute
# 用法:tcpping [-d] [-c] [-C] [-w sec] [-q num] [-x count] ipaddress [port]
# -d 在每个响应时间前,打印时间戳
# -c 以列表形式显示
# -C 输出类似于fping工具中-C选项的结果
# -w 等待时间(默认 3)
# -r 每N秒重试一次(默认 1)
# -x 限定测试总时长 (默认 无限)
本文来自博客园,作者:此生逍遥py,转载请注明原文链接:https://www.cnblogs.com/csxy-py/p/16776557.html

浙公网安备 33010602011771号