From owner-freebsd-stable Thu Mar 14 23:35:48 2002 Delivered-To: freebsd-stable@freebsd.org Received: from diligence.flag.rootnode.com (adsl-65-67-81-98.dsl.ltrkar.swbell.net [65.67.81.98]) by hub.freebsd.org (Postfix) with ESMTP id 5E42537B405 for ; Thu, 14 Mar 2002 23:35:39 -0800 (PST) Received: from insolence (insolence.flag.rootnode.com [10.0.1.102]) by diligence.flag.rootnode.com (Postfix) with SMTP id 72C4610EA2; Fri, 15 Mar 2002 01:35:38 -0600 (CST) Message-ID: <006901c1cbf5$213ff430$6601000a@flag.rootnode.com> From: "Joe Koberg" To: "Dave Uhring" Cc: References: Subject: Re: top wrong again? Date: Fri, 15 Mar 2002 01:43:42 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Dave Uhring" > > With 90% idle, I'd expect to see most of your process running 0%; so > > there doesn't appear to be anything wrong with your top output. > > OK, then try this one. I'm running make buildworld on a 4.5-RELEASE > system with sources CVSup'd about 1/2 hour ago. I've found that many of the processes created during a make buildworld are very short lived, and don't stay around long enough to accumulate processor time. So top(1) shows the ones that are just sitting around long enough for it to capture them during an update. Note the "last pid" number to get an idea of how many processes are created between top's updates. You can always try typing "s 0" to set the update delay to zero in top, but then top is likely to become the most cpu intensive process. Yet, it _is_ fun to watch many cc's and make's being dispatched during a parallel make buildworld. You might want to look at system process accounting with accton(8) and sa(8) to get per-command or per-user totals for cpu usage over time. Have fun, ----------------------------------------- Joe Koberg joe@rootnode.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message