Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2001 18:07:19 -0400
From:      Michael Lucas <mwlucas@blackhelicopters.org>
To:        Mike Meyer <mwm@mired.org>
Cc:        questions@freebsd.org
Subject:   Re: top "nice" CPU usage %
Message-ID:  <20010818180719.A62086@blackhelicopters.org>
In-Reply-To: <15230.58619.22982.65728@guru.mired.org>; from mwm@mired.org on Sat, Aug 18, 2001 at 04:58:19PM -0500
References:  <106465644@toto.iv> <15230.58619.22982.65728@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 18, 2001 at 04:58:19PM -0500, Mike Meyer wrote:
> I don't know of a description, but you've nailed it. This reports the
> cumulative cpu time of processes running with a nice > 0. For the
> user, nice > 0 gets less CPU time than processes with nice of 0. Nice
> < 0 can only be set by root.

Thanks.  That seemed to be the obvious interpretation, but it didn't
say so anywhere.  And we all know where "obvious" gets us.

So, it only reports processes where nice is less than zero, or
processes where the user has decided to be nice?  Hmmm... seems it
would be more useful to report processes set to be more "hungry".  Ah,
well, I'm sure patches would be welcome.  :)

Thanks, everyone!

==ml

-- 
Michael Lucas
mwlucas@blackhelicopters.org
http://www.blackhelicopters.org/~mwlucas/
Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010818180719.A62086>