Linux Benchmark Shell Scripts
Current tests include CPU & HDD from sysbench
(will auto install on Debian/Ubuntu flavors.)
Goal: To avoid remembering arguments for performance utilities. Written in bash.
Step 1: SETUP BENCHMARK:
Step 2: CREATE SHORTCUT SCRIPT: $HOME/benchmarks/bench-library.sh
Step 3: Set script permissions
Step 4: CREATE BATCH RUNNER SCRIPT (OPTIONAL)
$HOME/benchmarks/run-bench.sh
And now add execute permissions:
Usage
Make sure to source ~/benchmarks/bench-library.sh
, then run benchCpu
or benchDisk
.