Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the speedtest-cli command of linux to test the speed of the server's external network

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Do not know how to use linux's speedtest-cli command to test the speed of the server's external network? In fact, it is not difficult to solve this problem. Let the editor take you to learn how to solve it. I hope you will gain a lot after reading this article.

Speedtest-cli is a command line script written in python, which completes the speed test by calling the interface of the speedtest.net test up and down. Finally, I will test the external network speed of the server where the operation and maintenance time is located.

Syntax format: speedtest-cli [parameters]

Common parameters:

-- share shares your network speed. This command generates a picture of the network speed test results on the speedtest website-- list displays a list of speedtest.net 's test servers according to distance-- server=SERVER specifies the server of id in the list to do the test-- source=SOURCE binds the source address of the server-- simple displays only basic information.

Reference example

List all test servers in China:

[root@linuxcool ~] # speedtest-cli-- list | grep China

Generate a link to a picture of the results of the speed test, so that you can share:

[root@linuxcool] # speedtest-cli-- share

Test the up and down speed in bytes:

[root@linuxcool] # speedtest-cli-- bytes

Only ping and up and down speeds are displayed:

[root@linuxcool] # speedtest-cli-- simple

List the physical distances of all speedtest.net servers from you in kilometers (km):

[root@linuxcool] # speedtest-cli-- list thank you for reading this article carefully. I hope the editor will help you to share the content of testing the speed of the server outside the network using linux's speedtest-cli command. At the same time, I also hope you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report