linux下paping 持续检测端口

admin 2019-01-23 PM 643℃ 0条
 ./paping -p 80 -c 10 www.baidu.cn (该示例命令为进行10次的 目标IP 80 端口的连通性测试)
[root@ss bin]# ./paping -V
paping v1.5.5 - Copyright (c) 2018 Mike Lovell
Syntax: paping [options] destination
Options:
 -?, --helpdisplay usage
 -p, --port Nset TCP port N (required)
     --nocolorDisable color output
 -t, --timeouttimeout in milliseconds (default 1000)
 -c, --count Nset number of checks to N
[root@ss ~]# paping -p 80 -c 10 www.baidu.cn
paping v1.5.5 - Copyright (c) 2018 Mike Lovell

Connecting to www.wshifen.com [104.193.88.77] on TCP 80:

Connected to 104.193.88.77: time=13.22ms protocol=TCP port=80
Connected to 104.193.88.77: time=11.03ms protocol=TCP port=80
Connected to 104.193.88.77: time=10.84ms protocol=TCP port=80
Connected to 104.193.88.77: time=12.55ms protocol=TCP port=80
Connected to 104.193.88.77: time=13.12ms protocol=TCP port=80
Connected to 104.193.88.77: time=12.55ms protocol=TCP port=80
Connected to 104.193.88.77: time=10.80ms protocol=TCP port=80
Connected to 104.193.88.77: time=10.65ms protocol=TCP port=80
Connected to 104.193.88.77: time=13.06ms protocol=TCP port=80
Connected to 104.193.88.77: time=14.15ms protocol=TCP port=80

Connection statistics: Attempted = 10, Connected = 10, Failed = 0 (0.00%)
Approximate connection times: Minimum = 10.65ms, Maximum = 14.15ms, Average = 12.20ms

标签: none

非特殊说明,本博所有文章均为博主原创。