来源于LOC论坛xiaoz大佬
众所周知,超级ping可以很方便的测试各地到服务器延迟,而mping则可以测试服务器回程到各地的延迟,脚本很简单,执行下面的命令即可:
wget --no-check-certificate https://raw.githubusercontent.com/helloxz/mping/master/mping.sh && bash mping.sh
DEDI HK5 mping结果
测试中... ------------------------------------------- 【四川 电信】 - 125.64.38.178 20 packets transmitted, 20 received, 0% packet loss, time 19559ms rtt min/avg/max/mdev = 78.936/81.758/90.533/3.419 ms ------------------------------------------- 【北京 电信】 - 106.120.243.142 20 packets transmitted, 20 received, +13 duplicates, 0% packet loss, time 19191ms rtt min/avg/max/mdev = 71.397/75.070/86.613/4.609 ms ------------------------------------------- 【北京 联通】 - 103.254.70.52 20 packets transmitted, 20 received, 0% packet loss, time 19123ms rtt min/avg/max/mdev = 76.600/77.366/79.981/0.971 ms ------------------------------------------- 【北京 移动】 - 218.205.152.14 20 packets transmitted, 20 received, 0% packet loss, time 19295ms rtt min/avg/max/mdev = 251.878/253.446/259.405/2.140 ms ------------------------------------------- 【上海 移动】 - 117.131.14.202 20 packets transmitted, 20 received, 0% packet loss, time 19283ms rtt min/avg/max/mdev = 233.841/235.022/242.272/1.917 ms ------------------------------------------- 【上海 电信】 - 211.144.205.58 20 packets transmitted, 10 received, 50% packet loss, time 20022ms rtt min/avg/max/mdev = 90.344/113.976/156.987/24.015 ms ------------------------------------------- 【上海 联通】 - 220.196.42.133 20 packets transmitted, 7 received, 65% packet loss, time 20024ms rtt min/avg/max/mdev = 92.117/93.877/97.975/1.860 ms ------------------------------------------- 【广东 电信】 - 121.11.69.135 20 packets transmitted, 20 received, 0% packet loss, time 19137ms rtt min/avg/max/mdev = 62.676/65.403/79.648/4.823 ms ------------------------------------------- 【广东 联通】 - 27.40.0.30 20 packets transmitted, 20 received, 0% packet loss, time 19102ms rtt min/avg/max/mdev = 56.809/65.106/157.836/21.719 ms ------------------------------------------- 【广东 移动】 - 211.139.129.222 20 packets transmitted, 20 received, 0% packet loss, time 19117ms rtt min/avg/max/mdev = 60.999/65.184/97.808/7.943 ms ------------------------------------------- min:最低延迟 avg:平均延迟 max:最高延迟 mdev:平均偏差
文章评论