speedtest-cli 命令

 speedtest-cli是一个使用python编写的命令行脚本,通过调用speedtest.net测试上下行的接口来完成速度测试,项目地址:https://github.com/sivel/speedtest-cli。

  安装speedtest-cli
     wget -O speedtest-cli https://raw.githubusercontent.com/wn789/Superspeed/master/speedtest.py;chmod +x speedtest-cli;python speedtest-cli

  参数:

     -h, --help show this help message and exit
     --share 分享你的网速,该命令会在speedtest网站上生成网速测试结果的图片。
     --simple Suppress verbose output, only show basic information
     --list 根据距离显示speedtest.net的测试服务器列表。
     --server=SERVER 指定列表中id的服务器来做测试。
     --mini=MINI URL of the Speedtest Mini server
     --source=SOURCE Source ip address to bind to
     --version Show the version number and exit


  网速测试

  

猜你喜欢

转载自www.cnblogs.com/imcati/p/11575560.html