Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site cuuxb.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!nwuxg!cuuxc!cuuxb!dlm
From: dlm@cuuxb.UUCP (Dennis L. Mumaugh)
Newsgroups: net.unix
Subject: Re: Priority shells, do they work?
Message-ID: <198@cuuxb.UUCP>
Date: Wed, 20-Feb-85 04:42:52 EST
Article-I.D.: cuuxb.198
Posted: Wed Feb 20 04:42:52 1985
Date-Received: Thu, 14-Feb-85 02:15:40 EST
References: <>
Reply-To: dlm@cuuxb.UUCP (Dennis L. Mumaugh)
Distribution: net
Organization: ATT Computer Systems Center, Lisle, Ill.
Lines: 16
Summary: 

Yes you can setup login to give a set of priorities to users.  On a system
many years ago we had the default nice as 2 set in the code of login just
before we ran the user's shell.  Then we set some programs such as cc and n/troff
to a nice of 3 and the editors [RAND and VI] to a nice of 1.  You
can do some sort of variation on that.  If you assign a different
nice to a given user, then the changes to n/troff, cc and the editors need
to calculate a "relative" change to the current nice.

Warning: small changes to nice can have powerful effect.  We niced a program
at 5 once and it took 6 hours to run.


Dennis Mumaugh
Computer Systems Center
Lisle, Illinois