From owner-freebsd-questions Sat Aug 18 14:58:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id 6C2A137B40B for ; Sat, 18 Aug 2001 14:58:21 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 58907 invoked by uid 100); 18 Aug 2001 21:58:19 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15230.58619.22982.65728@guru.mired.org> Date: Sat, 18 Aug 2001 16:58:19 -0500 To: Michael Lucas Cc: questions@freebsd.org Subject: Re: top "nice" CPU usage % In-Reply-To: <106465644@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michael Lucas types: > top(1) includes percentages for the four "processor states"; user, > nice, system, and idle. I know what three of them are, but what is > the "nice" state? I would guess ( and probably be wrong ) that it has > something to do with process nice/renice. Can anyone point me to a > description? 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. Details on the behavior of nice depend on the scheduling algorithm. You can try asking on -hackers for information about that, or check the source yourself for the absolute truth. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message