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
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
After the installation is successful, we can use PIP3commandInstall Speedtest cli:
[[email protected] ~]# pip3 install speedtest-cli
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
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.