1. 程式人生 > >speedtest 測試服務器上傳下載速度

speedtest 測試服務器上傳下載速度

speed usr mas servers ... use conf speedtest pin

下載speedtest.py

wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py

賦予執行權限

ls -l speedtest.py
chmod u+x speedtest.py
mv speedtest.py /usr/local/bin/speedtest-cli

執行

speedtest-cli 

執行過程

[root@vultr ~]# speedtest-cli 
Retrieving speedtest.net configuration...
Testing from Choopa, LLC (ip)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by fdcservers.net (Miami, FL) [
3.16 km]: 11.099 ms Testing download speed................................................................................ Download: 1042.22 Mbit/s Testing upload speed................................................................................................ Upload: 996.87 Mbit/s

speedtest 測試服務器上傳下載速度