Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site rtech.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!hplabs!amdahl!rtech!jas
From: jas@rtech.ARPA (Jim Shankland)
Newsgroups: net.unix
Subject: Re: Adding a nice field to a.out headers???
Message-ID: <178@rtech.ARPA>
Date: Wed, 27-Feb-85 16:08:13 EST
Article-I.D.: rtech.178
Posted: Wed Feb 27 16:08:13 1985
Date-Received: Mon, 4-Mar-85 08:13:10 EST
References: <957@reed.UUCP>
Organization: Relational Technology, Berkeley CA
Lines: 17

> I've been wondering why we couldn't add a field into a.out headers that
> would set the default niceness of a process....  One can cheat and put a
> frontend shell file that does a "nice +10 rogue", but I find this very
> un-UNIX.
> 
> 	Joe Pruett
> 	Reed College
> 	...!tektronix!reed!joey

On the contrary, I'd say it's very much in the UNIX style to use existing
tools (such as nice(1)) where they work well.  If your one-line shell
script says "exec nice +10 rogue", there is even very little extra
overhead compared with building a nice value into the object header.

Jim Shankland
..!ihnp4!pegasus!rtech!jas
..!ucbvax!mtxinu!rtech!jas