This program makes concurrent execution of processes easy, especially if you have more processes to run than you want running at any one time. The purpose of this program is to execute large numbers of batch jobs on either an SMP machine, or a cluster of SMP machines such that all the processors are used. Make n larger than the number of processors if the jobs do a mixture of IO and processing (e.g. image processing).
parallel n
Takes lines from the standard input and executes them using bash, with at most n running at any one time.
ssh_parallel . "" 2 user@host1 4 user@host2 4
Updated March 28th 2013, 11:46