A. speedtest-cli
Installation:
bash
sudo apt install speedtest-cli
Usage:
bash
speedtest-cli
This will test upload and download speeds and provide latency stats.
To specify a server:
bash
speedtest-cli –server [server_id]
Find server IDs using:
bash
speedtest-cli –list
B. iperf3
Installation:
bash
sudo apt install iperf3
Usage:
Requires two systems: a server and a client.
On the server VPS:
bash
iperf3 -s
On the client VPS:
bash
iperf3 -c [server_ip]
This will run a test and show download speed (from server to client). To test upload, use the -R flag:
bash
iperf3 -c [server_ip] -R
C. nload
Installation:
bash
sudo apt install nload
Usage:
bash
nload
Displays a live feed of network usage. Not a speed test tool per se, but useful for monitoring bandwidth in real-time.
D. wget / curl
Used for quick file download tests.
Example with wget:
bash
wget –output-document=/dev/null http://speedtest.ftp.otenet.gr/files/test1Gb.db
Example with curl:
bash
curl -o /dev/null http://speedtest.ftp.otenet.gr/files/test1Gb.db
Check the transfer speed in the output.
E. mtr
Installation:
bash
sudo apt install mtr
Usage:
bash
mtr google.com
This traces the route from your VPS to the destination and shows latency and packet loss at each hop. Great for identifying bottlenecks in the network path.
Leave a Reply