测试VPS回程ping值和路由脚本

您的本机IP为:[]
正在进行Ping测试,请稍后...
---------------------------------------------------------------------------
【四川 电信】 - 61.139.2.69

10 packets transmitted, 9 received, 10% packet loss, time 9010ms
rtt min/avg/max/mdev = 243.942/250.980/254.821/3.508 ms
---------------------------------------------------------------------------
【天津 电信】 - 219.150.32.132

10 packets transmitted, 10 received, 0% packet loss, time 9011ms
rtt min/avg/max/mdev = 174.960/176.739/181.835/1.886 ms
---------------------------------------------------------------------------
【江苏 电信】 - 218.2.2.2

10 packets transmitted, 10 received, 0% packet loss, time 9011ms
rtt min/avg/max/mdev = 247.439/257.376/267.891/6.172 ms
---------------------------------------------------------------------------
【四川 联通】 - 119.6.6.6

10 packets transmitted, 10 received, 0% packet loss, time 9003ms
rtt min/avg/max/mdev = 237.482/245.178/247.416/2.715 ms
---------------------------------------------------------------------------
【河北 联通】 - 202.99.160.68

10 packets transmitted, 10 received, 0% packet loss, time 9014ms
rtt min/avg/max/mdev = 199.271/206.709/220.774/7.769 ms
---------------------------------------------------------------------------
【浙江 联通】 - 221.12.1.227

10 packets transmitted, 10 received, 0% packet loss, time 9011ms
rtt min/avg/max/mdev = 196.454/197.272/198.546/0.740 ms
---------------------------------------------------------------------------
【安徽 移动】 - 211.138.180.2

10 packets transmitted, 10 received, 0% packet loss, time 9012ms
rtt min/avg/max/mdev = 194.222/194.574/196.351/0.637 ms
---------------------------------------------------------------------------
【山东 移动】 - 218.201.96.130

10 packets transmitted, 10 received, 0% packet loss, time 9001ms
rtt min/avg/max/mdev = 277.039/277.908/279.818/1.111 ms
---------------------------------------------------------------------------
【四川 移动】 - 223.87.238.22

10 packets transmitted, 10 received, 0% packet loss, time 9011ms
rtt min/avg/max/mdev = 262.307/264.086/265.246/1.137 ms
---------------------------------------------------------------------------
【广东 移动】 - 211.139.129.222

10 packets transmitted, 10 received, 0% packet loss, time 9012ms
rtt min/avg/max/mdev = 215.025/223.041/240.627/10.917 ms
---------------------------------------------------------------------------
【参数说明】
x% packet loss: 丢包率
min: 最低延迟
avg: 平均延迟
max: 最高延迟
mdev: 平均偏差
---------------------------------------------------------------------------

执行以下脚本:

$ wget https://raw.githubusercontent.com/helloxz/mping/master/mping.sh && bash mping.sh

参考

  • https://www.xiaoz.me/archives/13044
  • https://82xm.com/blog/index.php/archives/102

项目地址

Github:https://github.com/helloxz/mping