This is done in python and requires python 2.6+ because it uses the multiprocessing module.
The code can be found in keepbusy.py file. It was tested both on Windows and Linux (python 2.7 on both platforms)
Everything is done via the RunInParallel function. More information can be found inside the source code.