Ubuntu, Debian:
apt-get install sysbench
CentOS:
yum install sysbench
Then:
sysbench --test=cpu run
Ubuntu, Debian:
apt-get install sysbench
CentOS:
yum install sysbench
Then:
sysbench --test=cpu run
The syntax has been changed in sysbench 1.1:
sysbench cpu run