🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.internals
Article #2583

processes: interactive or not

#2583
From: maddog
Date: Thu, 27 Jun 1991 16:31
16 lines
1212 bytes
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                 |  
Technical Details
Message-ID: <45343@netnews.upenn.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!netnews.upenn.edu!eniac.seas.upenn.edu!maddog

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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