MicroHost

MicroHost

Did You Know?

How Can We Help?

Special Offer

Deploy your Cloud Server now and get $100 in Free Credits!

Get Started

Command-line internet speed tests in CentOS 7

Table of Content

Speedtest

Speed test is an old standby. It's written in Python, packaged in Apt, and also available through pip. It can be used as a command-line tool or as part of a Python script.

Step1. Login into the server using root credentials on putty .

Step 2. Then enter the following command to install Python.

[console] # yum install -y python [/console]

Step 3. Enter the following command after installing Python to download SpeedTest-Cli on your server.

[console] # # wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py [/console]

Step 4. To give the SpeedTest tool executable access, run the following command after downloading it.

[console] # chmod +x speedtest-cli [/console]

Step 5. After you've completed the preceding steps, type the following command to begin the speed test.

[console] # ./speedtest-cli [/console]

Thank you!!

Special Offer

Deploy your Cloud Server now and get $100 in Free Credits!

Get Started
Table of Contents