Linux uses SPEEDTEST-CLI for speed measurement

Source: Internet
Author: User

Often we use Speedtest.net to test in Windows environments, but how to use speedtest for testing under Linux.
I use a centos6.7 environment that contains the Python environment so you can test it directly. If you don't have Python, install Python first.

Download script


Wget-o speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x SPEEDTEST-CLI

Using tutorials

The default run Test command is
./speedtest-cli

Test and share

./SPEEDTEST-CLI--share

Select the specified node to test

./SPEEDTEST-CLI--server Node ID


Select the specified node to test and share

./SPEEDTEST-CLI--server Node ID--share

There are three more commonly used commands.

Common commands are

Optional arguments:
-H,--help show this Help and exit
--bytes Display values in bytes instead of bits. does not affect
The image generated by--share
--share Generate and provide a URL to the Speedtest.net share
Results image
--simple suppress verbose output, only show basic information
--list Display A list of speedtest.net servers sorted by
Distance
--server server Specify a server ID to test against
--mini Mini URL of the Speedtest Mini server
--source Source source IP address to bind to
--timeout Timeout HTTP timeout in seconds. Default 10
--secure use HTTPS instead the HTTP when communicating with
Speedtest.net operated servers
 --version          Show the version number and exit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.