Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to use Speedtest CLI to test your Internet speed

Shulou Source: shulou.com Published: 2022-06-01 02:38:26 11月13日 Update

How to use Speedtest CLI to test your network speed, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

We will use a command line tool called speedtest-cli to test the speed of the network. It is a tool written in speedtest.net, and the system tests bandwidth by uploading and downloading data to Python websites.

Environment

Centos7

Install speedtest-cli tools

Before installing speedtest-cli, we need to install the python3-pip package manager first, and then install the speedtest-cli tool through pip.

[root@localhost ~] # yum-y install python3-pip

After the installation is successful, we can install speedtest-cli with the pip3 command:

[root@localhost ~] # pip3 install speedtest-cli

Detect the network through speedtest cli

[root@localhost] # 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 msTesting download speed. .. Download: 47.64 Mbit/sTesting upload speed.... .. Upload: 94.56 Mbit/s

After reading the above, have you mastered how to use Speedtest CLI to test your Internet speed? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Testing tools speed content commands methods more problems success helplessness for this reason bandwidth skills data environment articles systems experience Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB OPPO Reno Docker Huawei Shulou Technology