[svlug] Process watchdog
James Sparenberg
james at linuxrebel.org
Fri May 2 16:11:06 PDT 2008
On Friday 02 May 2008 02:10:31 pm Tomer wrote:
> 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!
Being the lazy cus I am. I use webmin. Under the others link, there is
process monitoring that allows you to configure restarts. It also will mail
you, or sms alert you when it triggers. I use it for ssh daemons, sendmail
daemons etc.
James
More information about the svlug
mailing list