Changing the nice() value of a running process.
Dennis L. Mumaugh
dlm at cuuxb.ATT.COM
Sun Jan 22 05:30:16 AEST 1989
In article <363 at lilink.UUCP> mikej at lilink.UUCP (Michael R.
Johnston) writes: about using nice to change process priorities
and make things work.
In a job a long time ago in a place far far away ....
I set the nice value of login to be 2: I.e. just before login
does the setuid stuff it does nice(2).
Hence the default level of all users was 2. Then the cc system
and nroff/troff had a nice of 3 set (actually one should nice to
max(3, current nice). And all editors had a nice of 1. Ps ran
with a nice of -10.
The result was that interactive users got good response and
nobody suffered. Even with the new UNIX schedulers this scheme
ought to be adopted by all.
--
=Dennis L. Mumaugh
Lisle, IL ...!{att,lll-crg}!cuuxb!dlm OR cuuxb!dlm at arpa.att.com
More information about the Comp.unix.wizards
mailing list