SPEETEST-CLI is the Linux next up and down network test tool, which is a command line script written in Python.
Requires python2.4-3.3 support.
GitHub Project Address:HTTPS://GITHUB.COM/SIVEL/SPEEDTEST-CLI
There are a number of installation methods:
1, Pip/easy_install
Pip Install Speedtest-cli
Or
Easy_install SPEEDTEST-CLI
2. Github
Pip Install Git+https://github.com/sivel/speedtest-cli.git
Or
git clone https://github.com/sivel/speedtest-cli.git
Python speedtest-cli/setup.py Install
3. Just download (like the the-it used to be)
Wget-o speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x SPEEDTEST-CLI
Or
Curl-lo speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x SPEEDTEST-CLI
Add executable permission after download, execute command directly
Will look for the closest Speedtest.net server and print out the current downstream and upstream bandwidth of your server.
[Email protected] ~]#./speedtest-cli
Retrieving Speedtest.net configuration ...
Testing from China Telecom Guangdong (183.62.174.54) ...
Retrieving Speedtest.net server list ...
Selecting best servers based on ping ...
Hosted by ShenZhen Telecom (ShenZhen) [0.00 km]: 1118.768 ms
Testing download speed ....... ....... ................. .............................
download:4.65 Mbit/s
Testing upload speed ................................................................................................
upload:9.15 Mbit/s
Using the--share parameter, the test results are uploaded to the speedtest.net server and displayed graphically. Get a graphical report from a linked address, such as.
[[Email protected] ~] #./SPEEDTEST-CLI--share
Retrieving Speedtest.net configuration ...
Testing from China Telecom Guangdong (183.62.174.54) ...
Retrieving Speedtest.net server list ...
Selecting best servers based on ping ...
Hosted by 75510010 (ShenZhen) [0.00 km]: 2552.787 ms
Testing download speed ....... ....... ................. .............................
download:2.43 Mbit/s
Testing upload speed ................................................................................................
upload:2.31 Mbit/s
Share results: http://www.speedtest.net/result/7253182155.png
Use the./speedtest-cli-h to get help with your use
Linux up and down line speed test tool SPEEDTEST-CLI