sysbench
Benchmark a System's CPU, IO and memory. More information: <https://github.com/akopytov/sysbench/>.
Install
- All systems
-
curl cmd.cat/sysbench.sh
- Debian
-
apt-get install sysbench
- Ubuntu
-
apt-get install sysbench
- Arch Linux
-
pacman -S sysbench
- Kali Linux
-
apt-get install sysbench
- Fedora
-
dnf install sysbench
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install sysbench
- OS X
-
brew install sysbench
- Raspbian
-
apt-get install sysbench
- Dockerfile
- dockerfile.run/sysbench
Benchmark a System's CPU, IO and memory. More information: <https://github.com/akopytov/sysbench/>.
-
Run a CPU benchmark with 1 thread for 10 seconds:
sysbench cpu run
-
Run a CPU benchmark with multiple threads for a specified time:
sysbench --threads=number_of_threads --time=seconds
-
Run a memory benchmark with 1 thread for 10 seconds:
sysbench memory run
-
Prepare a filesystem-level read benchmark:
sysbench fileio prepare
-
Run a filesystem-level benchmark:
sysbench --file-test-mode=rndrd|rndrw|rndwr|seqrd|seqrewr|seqwr fileio run
© tl;dr; authors and contributors