How to test Internet Connection Speed on CentOS

2021-06-02 By Mark 863 Views linux centos speed test
0 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)


  2. Download the file using the below command.

    # wget -O speedtest-cli


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

    # chmod +x speedtest-cli


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

    # ./speedtest-cli


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

    # ./speedtest-cli --bytes


Related Tutorials

What do you think about this article?

Rate this article
LayerStack Dedicated Cloud

About LayerStack’s Cloud Server

LayerStack is a leading Cloud Server provider in Asia, offering high performance and reliable SSD cloud computing services in our purpose-built, Tier 3+ data centers in Hong Kong, Singapore, Japan and the United States.

Try our blazing fast cloud servers with unlimited traffic and high security NOW!

Instant Deployment in 1 Minute.

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.

Try our NEW Dedicated Cloud Now!: Provide users with more control and flexibility over the cloud infrastructure.