I just put together my half-new-half-old system yesterday, and what I did to see how high I could get the cpu temps (mainly, since it has bad ventilation and needs to be reliable) was to simply do a
yes > /dev/null (and with an &, about 5 times over for good measure). This is an amazingly simple way to peg your cpu at 100%, I just let it go for a while and then checked the temp afterwards. For testing the system overall (just to make sure it's not obviously crashy or anything), I forkbomb it to death:
while true; do (grep -ir foo / &); done - I find this has a nice mix of overall system usage, including memory and disk, not just cpu. If you really wanted, you could run a few bzip's at the same time for good measure. This got the load up to I think 167. Takes a little longer than usual to log in, but it's easy to just log in as root and kill bash on whatever terminal the bomb is running on. You can't, however, do this as a normal user, because the system usually won't be able to fork to open a shell for you (but it will be able to for root). Fun stuff
