Simplest way to respawn configured number of instances of a specific process.

Posted by Zwei Steinen on Server Fault See other posts from Server Fault or by Zwei Steinen
Published on 2010-05-19T09:54:29Z Indexed on 2010/05/19 10:02 UTC
Read the original article Hit count: 173

Filed under:
|
|
|
|

So we have an app. which we wan to run multiple instance of it in linux. The number should be configurable. We also want that whenever one of the instance disappears, a new one is booted up.

I was looking into C based programs, shell script, python script etc. but I was wondering what would be the most simple, easiest way to do it. Are there any tools out there? Can one simply use some linux built-in functionality?

Linux distribution is Red Hat.

© Server Fault or respective owner

Related posts about linux

Related posts about respawn