How to test Internet Connection Speed on CentOS

2021-06-02 By Mark 58 Views linux centos speed test
0 reviews

When you experience 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 global server 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 byte, run the below command.

    # ./speedtest-cli --bytes
    

    speedcentos5


Related Tutorials

What do you think about this article?

Rate this article