I'm making a program which controls other processes (as far as stopped and started states).
One of the criteria is that the load on the computer is under a certain value.

So i need a function or small program which will cause the load to be very high for testing purposes. Can you think of anything? 

Thanks.