sysbench can be used to benchmark CPU, command is given below.
sysbench
$ sysbench cpu --threads=$(nproc --all) run
bench.sh (Across)
nench.sh (Nench)
yabs.sh (Yet Another Bench Script)
Source: AskUbuntu
Last updated 3 months ago