Command-line internet speed tests in CentOS 7
June 22, 2022
Tags:
·
Create an Utho account to try this guide with a $100 credit.
Sign Up
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.
# yum install -y python
Step 3. Enter the following command after installing Python to download SpeedTest-Cli on your server.
# # wget -O speedtest-cli [https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py](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.
# chmod +x speedtest-cli
Step 5. After you’ve completed the preceding steps, type the following command to begin the speed test.
# ./speedtest-cli
Thank you!!
Create an Utho account to try this guide with a $100 credit.
Sign Up