Watchdog program

Jonathan I. Kamens jik at athena.mit.edu
Mon Nov 27 23:38:43 AEST 1989


In article <21529 at adm.BRL.MIL> moore at ncsc.navy.mil (Moore) writes:
>It seems like a program such as this should be very common:  does anyone have
>a program (source, too, please!) to monitor terminal inactivity and shut down
>any processes idle for a certain amount of time?  It would have to detect
>processes that indicate Idle but really aren't (like a Kermit file transfer).

  The comp.sources.unix archives on uunet.uu.net (and, presumably,
whereever else they are archived) contains several such programs.  A
quick scan for "idle" in the c.s.u index reveals:

volume 3:
  idledaemon		Yet another idledaemon
volume 7:
  idle.users		A simple BSD idle-users daemon
  untamo2		Log out idle users
  untamo3		Log out idle users (untamo revised)

There may be others I've missed.

  You have to be careful when mentioning idle daemons on the net,
because for some reason some people feel very strongly that idle
daemons are a BAD idea, and will explain their opinions at length at
the least provocation.  This inevitably leads to a heated debate (read
"flame") which usually repeats to a tee the last debate on the same
subject.

  (Only 1/2 :-)

Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik at Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8495			      Home: 617-782-0710



More information about the Comp.unix.wizards mailing list