in reply to How to generate 'fake' memory load?
Anyway, for CPU load, this works fine:
perl -e '1 while 1' [download]
On re-read: what kyle said.