processes: interactive or not

maddog maddog at eniac.seas.upenn.edu
Fri Jun 28 02:31:48 AEST 1991


I am working on an automatic renicer program for a couple of our machines here
and I have run into the following problem - how to tell if a process is 
interactive or not?  I need a somewhat reliable means for determining this
so as to avoid renicing a process that requires I/O while at the same time
catching those that don't.  Is there a field/structure in the proc structure
that might be helpful for this? (using SunOS 4.1)  Please respond via e-mail.

Thanks,

      -maddog

-------------------------------------------------------------------------------
maddog at eniac.seas.upenn.edu       | 
University of Pennsylvania        |   This space left intentionally blank.
CSE class of 1992                 |  



More information about the Comp.unix.internals mailing list