Find it

Sunday, August 16, 2009

Keeping Processor Busy - AIX

Keeping a processor busy

There are times that you would like to create some "load" on the system. A very, very easy way of keeping a processor very busy is:

#yes > /dev/null

The "yes" command will continuously echo "yes" to /dev/null. This is a single-threaded process, so it will put load on a single processor. If you wish to put load on multiple processors, why not run yes a couple of times?

Hope it make scene if some one has better way to put load on system do let me know...

No comments:

Post a Comment