How to create a CPU spike with a bash command

Posted by User1 on Stack Overflow See other posts from Stack Overflow or by User1
Published on 2010-05-27T22:57:59Z Indexed on 2010/05/27 23:01 UTC
Read the original article Hit count: 217

Filed under:
|

I want to create a near 100% load on a Linux machine. It's quad core system and I want all cores going full speed. Ideally, the CPU load would last a designated amount of time and then stop. I'm hoping there's some trick in bash. I'm thinking some sort of infinite loop.

© Stack Overflow or respective owner

Related posts about linux

Related posts about bash