Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!netnews.upenn.edu!eniac.seas.upenn.edu!maddog From: maddog@eniac.seas.upenn.edu (maddog) Newsgroups: comp.unix.internals Subject: processes: interactive or not Message-ID: <45343@netnews.upenn.edu> Date: 27 Jun 91 16:31:48 GMT Sender: news@netnews.upenn.edu Reply-To: maddog@eniac.seas.upenn.edu (maddog) Distribution: usa Organization: University of Pennsylvania Lines: 16 Nntp-Posting-Host: krazy.seas.upenn.edu 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@eniac.seas.upenn.edu | University of Pennsylvania | This space left intentionally blank. CSE class of 1992 |