In Linux, use speedtest to test the network's uplink/downlink speed

In Linux, use speedtest to test the network's uplink/downlink speed

speedtest is a lightweight Linux command line tool written in Python that can run under Python versions 2.4 to 3.4. It is based on the Speedtest.net infrastructure to measure the network's uplink/downlink speeds. Installing speedtest is easy - just download its Python script file.

Use under SSH:
1. Installation

 wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py chmod a+rx speedtest.py mv speedtest.py /usr/local/bin/speedtest chown root:root /usr/local/bin/speedtest

2. Use

 speedtest

After entering this command, it will automatically discover the Speedtest.net server closest to you (by geographical distance) and then print out the tested network up/downlink speeds.

 speedtest --share

This command will upload your test results to the Speedtest.net server and share them with others in a graphical format.

 speedtest --list

This command will print out all Speedtest.net servers (sorted by geographical distance from you, closest to farthest).

 speedtest --server 935

In the above list, each server is preceded by an ID corresponding to it. If you want to use a specific server to test your internet speed, you just need to specify its ID after the speedtest-cli command. For example, if you want to use a server in Washington DC, you only need to specify the corresponding server ID (such as 935).

Project address: https://github.com/sivel/speedtest-cli

<<:  hostmaze: $4.99/month/5GB RAM/15GB hard drive/unlimited traffic/OpenVZ/Romania/no copyright

>>:  VPS collection and recommendation without copyright restrictions

Recommend

123Systems: $18/year/512MB RAM/15GB SSD space/1000GB bandwidth/KVM

The KVM VPS launched by 123Systems this time is v...

Tencent Cloud 2GB RAM 1Mbps Port Guangzhou KVM VPS Review

Details: Tencent Cloud: 10 yuan/month/2GB memory/...

HostiMan: $4.8/month/1GB RAM/10GB NVMe space/unlimited traffic/KVM/Russia/Europe

HostiMan, a Russian hosting company founded in 20...

NOCIX: $25/month/16GB memory/2TB hard disk/33TB traffic/5 IP/Kansas

NOCIX, a US hosting provider under datashack.net,...

LLsMP updated to 1.0

The previous version was 0.6. I use it again and ...