How to test Internet Connection Speed on CentOS

2021-06-02 By Mark 8445 Views linux centos speed test
22 reviews

When you experience a slow internet access speed on your server, the first thing you need to do is check the connection speed to resolve the slow connectivity issues. The SpeedTest CLI helps to check the current internet speed of your CentOS server from the command-line and it brings reliable technology and a global service network to the command line behind SpeedTest.


This tutorial will guide you on how to test Internet Connection Speed on CentOS.


  1. Run the below command to install python on your system.

    # dnf install python3 (CentOS 8)
    
    # yum install python2 (CentOS 7)
    

    speedcentos1

  2. Download the speedtest_cli.py file using the below command.

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

    speedcentos2

  3. Run the below command to make the script file executable.

    # chmod +x speedtest-cli
    

    speedcentos3

  4. Now, you can check the internet speed on your system by using speedtest-cli command.

    # ./speedtest-cli
    

    speedcentos4

  5. To check the internet speed in bytes, run the below command.

    # ./speedtest-cli --bytes
    

    speedcentos5


Related Tutorials

What do you think about this article?

Rate this article
Need assistance?

Try this guide to receive free bundled services at signup on a new free account.

Sign Up

Your Feedback Is Important

We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.