Home>Article>Operation and Maintenance> How to test the upload and download speed of linux server

How to test the upload and download speed of linux server

王林
王林 Original
2020-02-14 17:41:21 4610browse

How to test the upload and download speed of linux server

1. Log in to the home directory of the server and download speedtest.py

sudo wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py

2. Add execution permissions and need to have python environment support to execute:

(Related learning video recommendations:linux video tutorial)

sudo chmod 755 speedtest.py ./speedtest.py
[wuyun@localhost home]$ ./speedtest.py Retrieving speedtest.net configuration... Testing from China Telecom (219.131.192.35)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by CTM Internet Services (Macau) [8.74 km]: 43.531 ms Testing download speed................................................................................ Download: 74.49 Mbit/s Testing upload speed................................................................................................ Upload: 80.77 Mbit/s

It is best to choose the network idle time before testing. It automatically discovers the Speedtest.net server closest to you (geographical distance) and then displays the tested network up/down speeds.

Recommended related tutorials:linux tutorial

The above is the detailed content of How to test the upload and download speed of linux server. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn