[svlug] Process watchdog

Tomer tomer at pacbell.net
Fri May 2 14:10:31 PDT 2008


Hi all
Anyone know an easy way to place a watchdog deamon that will monitor a
process being alive and if not, restart it? E.g. I have tomcat running and
it sometime dies off. I want some deamon that will find out the tomcat
process (Actually java) is no longer running and then relaunch it. 

Even a short script with ps -ef and grepping inside a constant loop would do
if you have it.

Thanks! 




More information about the svlug mailing list