Skip to content

Common test scripts for VPS

When buying a new VPS or server , We would like to kown the benchmark of the machine. We should test the network speed of the VPS server, hard disk performance, etc.

Here are some test scripts collected. The scripts are all from the Internet. The code contains author information. Thanks to the network gods for providing such excellent tools.

Bench.sh

Features

  • Showing various system information of the current test
  • Network speed test from the test points of well-known data centers around the world
  • Support IPv6 download speed test
  • IO test three times and show the average
wget -qO- bench.sh | bash
#or
curl -Lso- bench.sh | bash
#or
wget -qO- 86.re/bench.sh | bash
#or
curl -so- 86.re/bench.sh | bash

Speedtest for China

bash <(curl -Lso- https://git.io/J1SEh)

Upload and download speed test of the three major chinese ISP (Telecom, China Unicom, China Mobile).

SuperBench.sh

An improved version of Bench.sh.

Features

  • I/O test, changed the content of the original default test, using small files, medium files, and large files to test IO performance separately, and then take the average
  • Speed test replaced with test in Superspeed
wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash
#or
curl -Lso- -no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superb

UnixBench.sh

UnixBench is a performance testing tool under Unix-like systems (Unix, BSD, Linux), an open source tool, which is widely used to test the performance of Linux system hosts.

The main test items of Unixbench are: system call, read and write, process, graphical test, 2D, 3D, pipeline, operation, C library and other system benchmark performance to provide test data.

Features

  • Automatic installation of UnixBench and test scripts
  • System benchmark performance of system calls, reading and writing, processes, graphical testing, 2D, 3D, pipelines, operations, C libraries, etc.
wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh
chmod +x unixbench.sh
./unixbench.sh

LemonBench.sh

The LemonBench tool (alias LBench, Lemon Bench) is a server performance testing tool designed for Linux servers. Through the comprehensive test, you can quickly evaluate the comprehensive performance of the server and provide users with server hardware configuration information.

Features

  • Server basic information (CPU information/memory information/Swap information/disk space information, etc.)
  • Speedtest network speed test (network speed from local to nearest source and different lines in various regions of the country)
  • Disk test (4K block/1M block direct write test)
  • Traceroute test (trace routing information to different routes in China and overseas)
  • Spoofer test (obtain detailed network information, quickly determine the server access router)
curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s full
# or
curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast

One Comment

Leave a Reply