Use Speedtest cli to test your network speed

Time:2020-11-12

In this article, we will use a Speedtest clicommandLine tool to test the network speed. It is a tool written in Python language speedtest.net Websites upload and download data to test bandwidth.

Environmental Science

Centos7

Install Speedtest cli tool

Before installing Speedtest cli, we need to install the python3 PIP package manager, and then install the Speedtest cli tool through pip.

[[email protected] ~]# yum -y install python3-pip

Use Speedtest cli to test your network speed
After the installation is successful, we can use PIP3commandInstall Speedtest cli:

[[email protected] ~]# pip3 install speedtest-cli

Use Speedtest cli to test your network speed

Network detection by Speedtest cli

[[email protected] ~]# speedtest-cli
Retrieving speedtest.net configuration…
Testing from China Telecom (...)…
Retrieving speedtest.net server list…
Selecting best server based on ping…
Hosted by China Telecom JiangSu 5G (Lianyungang) [196.15 km]: 31.424 ms
Testing download speed……………………………………………………………………..
Download: 47.64 Mbit/s
Testing upload speed…………………………………………………………………………………………
Upload: 94.56 Mbit/s

Use Speedtest cli to test your network speed

summary

In this article, we will use a command-line tool called Speedtest cli to test the network speed. It is a tool written in Python language speedtest.net Websites upload and download data to test bandwidth.