zoukankan      html  css  js  c++  java
  • 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


      网速测试

      

  • 相关阅读:
    java中的接口
    java中的多态
    java中的继承
    抽象和封装
    表单验证
    13、迭代器与生成器
    10、end关键字和Fibonacci series: 斐波纳契数列
    9、字典
    8、元组
    2、Python_Day_1_作业
  • 原文地址:https://www.cnblogs.com/imcati/p/11575560.html
Copyright © 2011-2022 走看看