日日操夜夜添-日日操影院-日日草夜夜操-日日干干-精品一区二区三区波多野结衣-精品一区二区三区高清免费不卡

公告:魔扣目錄網(wǎng)為廣大站長提供免費收錄網(wǎng)站服務,提交前請做好本站友鏈:【 網(wǎng)站目錄:http://www.ylptlb.cn 】, 免友鏈快審服務(50元/站),

點擊這里在線咨詢客服
新站提交
  • 網(wǎng)站:51998
  • 待審:31
  • 小程序:12
  • 文章:1030137
  • 會員:747

我這里如下安裝:

git clone https://github.com/sivel/speedtest-cli.git

Python3 speedtest-cli/setup.py install【這個根據(jù)自己的版本來安裝就可以了】

在speedtest-cli這個目錄下可以如下操作:

python3 speedtest.py

Retrieving speedtest.net configuration...

Testing from China Telecom (1.84.212.150)...

Retrieving speedtest.net server list...

Selecting best server based on ping...

Hosted by Xi'an branch,Chinaunicom (Xi'an) [19.75 km]: 18.86 ms

Testing download speed................................................................................

Download: 79.70 Mbit/s

Testing upload speed......................................................................................................

Upload: 21.90 Mbit/s

其實這個speedtest.py也就是腳本了

可以直接如下:

cp speedtest.py speedtest
?  speedtest-cli git:(master) ? chmod 755 speedtest-cli.1
?  speedtest-cli git:(master) ? chmod 755 speedtest
?  speedtest-cli git:(master) ? ./speedtest
Retrieving speedtest.net configuration...
Testing from China Telecom (1.84.212.150)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by China Unicom Lanzhou Branch Co.Ltd (Lanzhou) [483.74 km]: 24.266 ms
Testing download speed................................................................................
Download: 96.11 Mbit/s
Testing upload speed................................................................................................
Upload: 21.86 Mbit/s

其實默認下載之后的介紹很詳細了

Versions
--------speedtest-cli works with Python 2.4-3.7
.. image:: https://img.shields.io/pypi/pyversions/speedtest-cli.svg
        :target: https://pypi.python.org/pypi/speedtest-cli/
        :alt: Versions
Installation------------pip / easy_install~~~~~~~~~~~~~~~~~~~::
    pip install speedtest-clior::    easy_install speedtest-cliGithub~~~~~~::
    pip install git+https://github.com/sivel/speedtest-cli.git
or
::
    git clone https://github.com/sivel/speedtest-cli.git
    cd speedtest-cli
    python setup.py install
Just download (Like the way it used to be)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
    wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/mas
ter/speedtest.py
    chmod +x speedtest-cli
or
::
    curl -Lo speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/ma
ster/speedtest.py
    chmod +x speedtest-cli
Usage
-----
::
    $ speedtest-cli -h
    usage: speedtest-cli [-h] [--no-download] [--no-upload] [--single] [--bytes]
                         [--share] [--simple] [--csv]
                         [--csv-delimiter CSV_DELIMITER] [--csv-header] [--json]
                         [--list] [--server SERVER] [--exclude EXCLUDE]
                         [--mini MINI] [--source SOURCE] [--timeout TIMEOUT]
                         [--secure] [--no-pre-allocate] [--version]
    Command line interface for testing internet bandwidth using speedtest.net.
    --------------------------------------------------------------------------
    https://github.com/sivel/speedtest-cli
    optional arguments:
      -h, --help            show this help message and exit
      --no-download         Do not perform download test
      --no-upload           Do not perform upload test
      --single              Only use a single connection instead of multiple. This
                            simulates a typical file transfer.
      --bytes               Display values in bytes instead of bits. Does not
                            affect the image generated by --share, nor output from
                            --json or --csv
      --share               Generate and provide a URL to the speedtest.net share
                            results image, not displayed with --csv
      --simple              Suppress verbose output, only show basic information
      --csv                 Suppress verbose output, only show basic information
                            in CSV format. Speeds listed in bit/s and not affected
                            by --bytes      --csv-delimiter CSV_DELIMITER                            Single character delimiter to use in CSV output.
                            Default ","
      --csv-header          Print CSV headers      --json                Suppress verbose output, only show basic information                            in JSON format. Speeds listed in bit/s and not

 

Linux或者Mac下命令行speedtest測試網(wǎng)絡速度

 

另外感興趣的可以看下linux下的axel多進程下載,將本地帶寬拋滿很好的測試工具。

分享到:
標簽:測試 網(wǎng)絡
用戶無頭像

網(wǎng)友整理

注冊時間:

網(wǎng)站:5 個   小程序:0 個  文章:12 篇

  • 51998

    網(wǎng)站

  • 12

    小程序

  • 1030137

    文章

  • 747

    會員

趕快注冊賬號,推廣您的網(wǎng)站吧!
最新入駐小程序

數(shù)獨大挑戰(zhàn)2018-06-03

數(shù)獨一種數(shù)學游戲,玩家需要根據(jù)9

答題星2018-06-03

您可以通過答題星輕松地創(chuàng)建試卷

全階人生考試2018-06-03

各種考試題,題庫,初中,高中,大學四六

運動步數(shù)有氧達人2018-06-03

記錄運動步數(shù),積累氧氣值。還可偷

每日養(yǎng)生app2018-06-03

每日養(yǎng)生,天天健康

體育訓練成績評定2018-06-03

通用課目體育訓練成績評定