最新消息:阿啰哈,本人90后,目前单身,欢迎妹子们来撩!.(。→‿←。)

Linux命令行下的网速测试工具

Shell 林志斌 990浏览
1、下载此python文件(Official Website:https://github.com/sivel/speedtest-cli
wget -c https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py

2、chmod +x speedtest_cli.py

3、运行测试:python ./speedtest_cli.py

运行示例:
[email protected]:~/bin$ python speedtest_cli.py 
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from China Mobile (120.206.x.x)...
Selecting best server based on ping...
Hosted by China Unicom (Chengdu) [490.48 km]: 24.239 ms
Testing download speed........................................
Download: 4.24 Mbit/s
Testing upload speed..................................................
Upload: 4.66 Mbit/s

[email protected]:~/bin$ python speedtest_cli.py 
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from China Mobile (120.206.x.x)...
Selecting best server based on ping...
Hosted by China Unicom (Chengdu) [490.48 km]: 22.968 ms
Testing download speed........................................
Download: 4.27 Mbit/s
Testing upload speed..................................................
Upload: 4.50 Mbit/s

Speedtest: http://www.speedtest.net/

转载请注明:林志斌 » Linux命令行下的网速测试工具

发表评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址