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

zmirror: One-click deployment of Google, YouTube, Twitter and other mirrors

1. Recommended operating system: Ubuntu 16.04 x86...

Pzea: $28/year/512MB memory/30GB space/800GB traffic/10 IP/OpenVZ/Los Angeles

Pzea, we just finished the activity of paying 20 ...

Buyvm 512MB RAM 1Gbps Unlimited Bandwidth Las Vegas KVM VPS Review

Details : Buyvm: $2/month/512MB memory/10GB SSD s...

anyNode: $12.5/year/256MB/10GB SSD space/500GB traffic/KVM/Los Angeles CN2 GIA

anyNode merged three hosting providers: Hostigati...

Intellyhost: $5/month/2GB RAM/35GB SSD/4 TB bandwidth/KVM/France

Intellyhost, an Indian hosting provider, register...

UDC: $4/month/1 CPU/512M/20G/unlimited traffic/1 IP/VDS

UDC is a Ukrainian hosting company established in...

SOFTSYS: $7.98/month/1GB memory/25GB SSD space/400GB traffic/Hyper-V/Singapore

Softsys Hosting, founded in 2006, provides VPS an...