speedtest 测试服务器上传下载速度


下载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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM