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


      网速测试

      

  • 相关阅读:
    修改python默认版本
    Ansible基础
    day21
    paramiko上传文件到Linux
    参考书籍
    C++解析三
    块设备
    assert用法
    块设备驱动2
    块设备驱动1
  • 原文地址:https://www.cnblogs.com/imcati/p/11575560.html
Copyright © 2011-2022 走看看