maxcpu is a Perl script that executes a queue of command lines read from STDIN on as many available CPUs as possible.