[comp.unix.wizards] Daemon Monitoring Daemon

ghost@robecdc.UUCP (William.A.Sneed) (04/09/90)

Watcher would get you half the way there. It will do the monitoring based
on a list (ASCII file) of daemons. The remainder (auto restart) you would
have to do yourself. I don't think it would be that great of a problem,
however.

-- 
-William A. Sneed	 | All words are from me not my employer. All errors
-...pyrdc!robecdc!ghost  | are mine, all the glory is mine, all the flames are
-(703) 631-4800		 | mine, good, bad and ugly it's all mine. :-{> :-{> :-)

merritt@iris613.gsfc.nasa.gov (John H Merritt) (04/09/90)

In article <76@robecdc.UUCP> ghost@robecdc.UUCP (William.A.Sneed) writes:
>
>Watcher would get you half the way there. It will do the monitoring based
>on a list (ASCII file) of daemons. The remainder (auto restart) you would
>have to do yourself. I don't think it would be that great of a problem,
>however.
On SysV;  What about placing the program in /etc/inittab?  Is
          /etc/inittab reserved for tty processes only?  It seems
          that you can run anything from there.

Also, what is the equivalent of /etc/inittab on a BSD machine?
          The file /etc/ttytab seems geared to terminal ports.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
John H. Merritt                   #  Yesterday I knew nothing,
Applied Research Corporation      #  Today I know that.
merritt@iris613.gsfc.nasa.gov     #

wesommer@athena.mit.edu (William Sommerfeld) (04/10/90)

In article <1582@dftsrv.gsfc.nasa.gov> merritt@iris613.gsfc.nasa.gov (John H Merritt) writes:

   Also, what is the equivalent of /etc/inittab on a BSD machine?

On "4.3 derivatives", it's /etc/ttys, and, yes, you can run nearly
anything from there.  The biggest thing to watch out for is that you
have to make sure that the daemon doesn't fork/exit and detach itself
from the controlling terminal, or else init will keep on restarting
it.

					- Bill

--
The USSR is one of the few places |    Bill Sommerfeld at MIT/Project Athena
on earth where the currency is    |    sommerfeld@mit.edu
softer than the toilet paper      |