Linux Server Speed Test: Quick Guide
There are various ways to test the internet speed of a Linux server, here are some commonly used methods:
- Speedtest-cli is a command line tool that can be used to test the download and upload speeds of a server. To install Speedtest-cli, you can input the following command in the terminal.
sudo apt-get install speedtest-cli
Next, enter the following command to test the internet speed:
speedtest-cli
- Utilizing the iperf tool: iperf is a network bandwidth testing tool that can be used to test bandwidth between servers. First, install iperf.
sudo apt-get install iperf
Next, run the iperf server on the server.
iperf -s
Run the iperf client on another machine and connect to the server for testing.
iperf -c <server_ip>
- By using the wget command, you can download large files from the command line and check the download speed to test the server’s speed. For example:
wget http://speedtest.tele2.net/10MB.zip
- Using the ping command: The ping command can test the connection latency between servers and other network devices. You can use the ping command to send data packets to a remote server and check the latency time to test network speed. For example:
ping google.com
These methods can help you test the network speed of your Linux server, you can choose the appropriate method for testing as needed.