Command-line internet speed tests in CentOS 7

Command-line internet speed tests in CentOS 7

Speedtest


Speedtest 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.





Step 1: Login into the server using root credentials on putty .





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


Command : # yum install -y python



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


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




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


Command :# chmod +x speedtest-cli



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


Command : # ./speedtest-cli



THANK YOU !