Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!apple!bionet!agate!ucbvax!hplabs!hp-pcd!hpfcdc!rml From: rml@hpfcdc.HP.COM (Bob Lenk) Newsgroups: comp.unix.questions Subject: Re: usage accounting Message-ID: <5740034@hpfcdc.HP.COM> Date: 19 Nov 88 00:18:20 GMT References: <1156@orion.cf.uci.edu> Organization: HP Ft. Collins, Co. Lines: 16 > I'd like to charge users less who run their processes at a lower priority > (i.e. nice'd). Unfortunately I cannot find any applicable fields > stored in the system accounting file. (structure defined in ) It would be difficult to put in a single priority/nice value that was meaningful, without adding complexity to the clock interrupt code. Just recording the nice value at a single instant (probably process termination) isn't reasonable. A process doesn't deserve a discount because it ends with: nice(20); exit(0); Bob Lenk hplabs!hpfcla!rml rml%hpfcla@hplabs.hp.com