[svlug] Process watchdog

Nambi Sankaran snambi at gmail.com
Fri May 2 15:06:26 PDT 2008


You can use java service wrapper
http://wrapper.tanukisoftware.org/doc/english/introduction.html#reliability

On Fri, May 2, 2008 at 2:10 PM, Tomer <tomer at pacbell.net> 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!
>
>
> _______________________________________________
> svlug mailing list
> svlug at lists.svlug.org
> http://lists.svlug.org/lists/listinfo/svlug
>



-- 
Everything is an act of God!
408.702-2745 [C]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.svlug.org/archives/svlug/attachments/20080502/90982193/attachment.htm


More information about the svlug mailing list