Last updated 8 months ago
sysbench can be used to benchmark CPU, command is given below.
sysbench
$ sysbench cpu --threads=$(nproc --all) run
Source: