wfu - a watch fork utility for deschall

Dave Ahn (ahn@indigo2.rad.bgsm.edu)
Fri, 9 May 1997 21:22:07 -0400 (EDT)


I spent a few minutes slapping together a C program, called wfu, that I
am using to run deschall on SGI R10000 boxes. This program may be of
interest to some of you. wfu stands for Watch Fork Utility.

It's top-level client that spawns multiple copies of deschall. It scans
the utmp file every 1 minute for logged in users, and if found, suspends
all forked deschall processes. If the clients are suspended for more than
60 minutes, they are killed. When the user logs off, the deschall processes
are resumed or restarted.

As I said, I slapped the program together, so it is ugly, user-unfriendly,
and does no error checking. It runs fine under SGI Irix 6.2. However,
in case someone out there wants to use it, I will make the source available
at http://www.vec.bgsm.edu/~ahn/wfu.c shortly.

Dave.

-- 
Dave Ahn,  ahn@vec.bgsm.edu             "When you were born you cried, and the
           ahn@indigo2.rad.bgsm.edu      world rejoiced.  Try to live your life
Virtual Endoscopy Center                 so that when you die you will rejoice,
Bowman Gray School of Medicine           and the world will cry."  -1/2 jj^2