I found this test script online searching for a good vps provider. One of the user shared his test result and linked to this script. The script is fully automatic. All you have to do is login to your vps or server via SSH and run one command. That’s it. Thanks to Teddysun.

The test script bench.sh is almost fully applicable to the network (downstream) and IO testing of various Linus distributions. The test results are displayed in a more aesthetic way.

Features of bench.sh:

  1. Display various system information of the current test
  2. Download speed tests are more comprehensive, taken from test points of well known data centers in many parts of the world.
  3. Support IPv6 download speed measurement.
  4. The IO test is done three times and the average is displayed.

Usage Instructions:

Command: 

wget -qO- bench.sh | bash

or

curl -Lso- bench.sh | bash

Remarks:

bench.sh is both a script name and a domain name. So don’t get confused.

Github: https://github.com/teddysun/across/blob/master/bench.sh

Below is the output from my VPS: