On Wed, May 30, 2001 at 08:58:38AM -0500, Yaron wrote:
> Do a 'ps auxw|grep named'?

Or use `ps -C named`.

> I wrote a deamon once (in perl, do THAT in PHP! (; ) that goes around
> checking for other daemons and restarts them if they are down. Course it
> can't check for itself, so you also run it from cron just in case...
> silly, isn't it.

So write two daemons and have them watch each other.  (Cue Robin Hood/Friar
Tuck story at
http://www.tuxedo.org/~esr/jargon/html/The-Meaning-of-Hack.html
It's about a third of the way down the page.)

-- 
That's not gibberish...  It's Linux. - Byers, The Lone Gunmen
Geek Code 3.12:  GCS d? s+: a C++ UL++++$ P++>+++ L+++>++++ E- W--(++) N+
o+ !K w--- O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv+ b+ DI++++ D G e* h r y+