Bob Tanner <tanner at real-time.com> writes:

> Quoting Austad, Jay (austad at marketwatch.com):
> > What's a good tool to use to monitor if a particular process is running, and
> > then restart it if it dies?
> > 
> > Preferably a perl or a shell script as I don't have compilers on the box I
> > need to use it on, and I want to stay far far away from DJB's daemontools.
> 
> Here is what I use for my setiathome script. Homebrew.

Based on their recent web page, they'd like you to put a delay in
there so if it failed to connect, it didn't retry immediately.  Seems
their server gets really hammered :-).
-- 
David Dyer-Bennet, dd-b at dd-b.net  /  Ghugle: the Fannish Ghod of Queries
 John Dyer-Bennet 1915-2002 Memorial Site http://john.dyer-bennet.net
        Book log: http://www.dd-b.net/dd-b/Ouroboros/booknotes/
                 Photos: http://dd-b.lighthunters.net/