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


  網速測試

  

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM