通常测试网路连通性和延后最常使用Ping命令linux 网络延迟linux解压rar,而且假如对方严禁了ICMP包将难以ping通,telnet命令其实可以测试端口连通性,但却难以测量延后linux 网络延迟linux操作系统论文,PaPing除了可以测试连通性还可以测量网路延后情况。
下载PaPing
wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/paping/paping_1.5.5_x86-64_linux.tar.gz
tar zxvf paping_1.5.5_x86-64_linux.tar.gz
使用方式
例如我要测试443端口延后情况,输入命令:
[root@ultravps ~]# ./paping -p 443 -c 4 www.moderatecontent.com
paping v1.5.5 - Copyright (c) 2011 Mike Lovell
Connecting to www.moderatecontent.com on TCP 443:
Connected to 66.96.149.31: time=73.29ms protocol=TCP port=443
Connected to 66.96.149.31: time=73.36ms protocol=TCP port=443
Connected to 66.96.149.31: time=73.57ms protocol=TCP port=443
Connected to 66.96.149.31: time=73.32ms protocol=TCP port=443
Connection statistics:
Attempted = 4, Connected = 4, Failed = 0 (0.00%)
Approximate connection times:
Minimum = 73.29ms, Maximum = 73.57ms, Average = 73.38ms
此文部份内容参考了:使用PsPing&PaPing进行TCP端口连通性测试
文章评论