sysbench can be used to benchmark CPU, command is given below.
sysbench
$ sysbench cpu --threads=$(nproc --all) run
bench.sharrow-up-right (Across)arrow-up-right
nench.sharrow-up-right (Nench)arrow-up-right
yabs.sharrow-up-right (Yet Another Bench Script)arrow-up-right
Source: AskUbuntuarrow-up-right
Last updated 1 year ago