How to stress test your CPU?

At the moment, I am using Ubuntu. It has an amazing package which is stress to give some stress testing to your new machine. Like any other stress testing, idea here is to simply make sure that your machine is running at its full capacity and you are going to observe the temperature of CPU as well as the fan’s rpm.

Install stress

sudo apt-get install stress -y


stress --cpu $(grep -c ^processor /proc/cpuinfo) --timeout 60

The grep -c ^processor /proc/cpuinfo will just tell you how many cpu cores are there. This will spawn that number of cpus.

Worth Sharing?


Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>