Run a pool of processes in shell

Posted by viraptor on Server Fault See other posts from Server Fault or by viraptor
Published on 2010-04-21T10:28:23Z Indexed on 2010/04/21 10:33 UTC
Read the original article Hit count: 362

Filed under:
|
|

I'm looking for an easy method to run N selected processes at the same time with one command. It should put all the output on my terminal and shut down all of them when I exit with ctrl+c. Is there any existing app that does this?

I'm thinking of some thing like exec_many 10 foo - it should keep 10 foos running and respawn any that dies.

© Server Fault or respective owner

Related posts about linux

Related posts about process