Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site wjvax.UUCP Path: utzoo!utcsrgv!garfield!dreacad!dalcs!dartvax!decvax!decwrl!sun!qubix!ios!wjvax!ron From: ron@wjvax.UUCP Newsgroups: net.unix-wizards,net.bugs.4bsd Subject: Re: automatic renice in 4.1 bsd? Message-ID: <234@wjvax.UUCP> Date: Wed, 24-Oct-84 16:55:24 EDT Article-I.D.: wjvax.234 Posted: Wed Oct 24 16:55:24 1984 Date-Received: Sat, 27-Oct-84 21:42:14 EDT References: <963@hammer.UUCP> Organization: Watkins Johnson, San Jose, Calif. Lines: 31 From: dce@hammer.UUCP (David Elliott) Newsgroups: net.unix-wizards,net.bugs.4bsd Subject: Re: automatic renice in 4.1 bsd? Another problem (besides the kernel renicing processes) is the csh builtin command `nice'. If you look at the documentation, you will see that `nice' with no arguments claims to set the nice of the current shell to 4. The code that attempts to do this does a nice(20), a nice(-10), and a nice(4) (supposedly, this changes the nice to the maximum, back to 0, and then to 4), but if you aren't the superuser, this sets the nice to 19 and that's all. (Does anyone know why this would have worked at some time?) **** Well, when we were running U*IX on our 11/23, normal mortals COULD nice to minus numbers. In fact, when you had the machine to yourself you could do a nice --40 and watch your program whizz right along. Under these circumstances the csh would have no problem setting a priority of 4. Perhaps this "feature" of 4.1 is left over from the old 11/23 days? -- "Trivia is important." Ron Christian (syntax bug) Watkins-Johnson Co. San Jose, Calif. (...ios!wjvax!ron)