/Linux · 2023年 7月 9日 0

Linux centos7上安装tcpping

Linux centos7上安装tcpping
安装依赖 tcptraceroute
yum install tcptraceroute
file
安装依赖 bc
yum install bc
file
安装 tcpping
wget http://www.vdberg.org/~richard/tcpping
file
cp tcpping /usr/bin
cd /usr/bin
chmod 777 tcpping
file
用法详解:
用法:tcpping [-d] [-c] [-C] [-w sec] [-q num] [-x count] ipaddress [port]
-d 在每个响应时间前,打印时间戳
-c 以列表形式显示
-C 输出类似于fping工具中-C选项的结果
-w 等待时间(默认 3)
-r 每n秒重试一次(默认 1)
-x 重复n次 (默认 无限)