How to test network speed on CentOS, quickly locate problems and improve network speed

Network speed is very important for our daily work and life, but sometimes we may encounter slow network speed, or even problems with connection failure. At this time, how to quickly test the network speed and locate the problem has become a difficult problem that we need to solve urgently. In this article, we will introduce you how to test the network speed on the CentOS system, and how to quickly locate and solve network speed problems.

Use Linux command line to test network speed/bandwidth installation in CentOS Use Linux command line to test network speed/bandwidth installation in CentOS

Install speedtest-cli

speedtest-cli is a lightweight Linux command line tool written in Python , which can run under Python 2.4 to 3.4. It measures the up/down speed of the network based on Speedtest.net's infrastructure. Installing speedtest-cli is easy - just download its Python script file.

# wget https://raw.githubusercontent.com/sivel/speedtest-

cli/master/speedtest.py# chmod +rx speedtest

Guess you like

Origin blog.csdn.net/shengyin714959/article/details/131031006