🏋️ Bash Script which runs several Linux benchmarks (Sysbench, UnixBench and Geekbench)
GPL-3.0 License
Bash Script which runs several Linux benchmarks (Sysbench, UnixBench and Geekbench). I've tried to keep it simple. You can adjust it quickly.
https://www.nkn-it.de/benchmark_demo/
These Ubuntu packages should be installed:
apt-get install \
bash \
curl \
make \
gcc \
build-essential \
net-tools \
inetutils-ping \
traceroute \
pciutils \
perl \
lshw \
ioping \
fio \
sysbench
UnixBench and Geekbench 5 are automatically loaded and are temporarily installed.
Download:
curl -f https://raw.githubusercontent.com/Cyclenerd/benchmark/master/benchmark.sh -o benchmark.sh
Alternative download with short URL:
curl -fL http://bit.ly/benchmark_sh -o benchmark.sh
Run as root:
bash benchmark.sh
Unlock Geekbench using EMAIL and KEY:
bash benchmark.sh -e <Geekbench license email> -k <Geekbench license key>
Create GitHub gist with HTML results:
bash benchmark.sh -g <GitHub API token with scope gist>
Help:
bash benchmark.sh -h
This script generates a lot of load. Be aware of this. So you should just use the computer alone. Use at your own risk.
GNU Public License version 3. Please feel free to fork and modify this on GitHub (https://github.com/Cyclenerd/benchmark).