Home > Operation and Maintenance > Linux 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

王林
Release: 2020-02-14 17:41:21
Original
4764 people have browsed it

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
Copy after login

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
Copy after login
[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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template