导航

查看 vps 外部网络速度

安装

wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x speedtest-cli
./speedtest-cli
./speedtest-cli --share # 生成测试图
./speedtest-cli --server 4751 # 指定 (4751 - beijing) 测试服务器

指定代码查询

测试一

bpplpp:~# ./speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from QuadraNet (10.10.10.10)...
Selecting best server based on latency...
Hosted by Atlantic Metro (Los Angeles, CA) [0.70 km]: 7.717 ms
Testing download speed........................................
Download: 99.72 Mbit/s
Testing upload speed..................................................
Upload: 89.79 Mbit/s

测试二

LA:~# ./speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Digital Ocean (100.100.100.100)...
Selecting best server based on latency...
Hosted by Comcast (San Francisco, CA) [0.10 km]: 7.889 ms
Testing download speed........................................
Download: 120.13 Mbit/s
Testing upload speed..................................................
Upload: 61.48 Mbit/s
Share results: http://www.speedtest.net/result/xxxxxxxx.png

2016-05-01
选择表情