Reputation: 47121
I am trying to write a script to utilize a CPU heavily. (I need this to load test a service running on multiple hosts.)
What is the best way to do this?
Upvotes: 2
Views: 460
Reputation: 106972
I would just do something like yes > /dev/null
on the command line.
Upvotes: 1