From owner-freebsd-questions@FreeBSD.ORG Sat Jul 16 19:24:21 2005 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 681F416A41C for ; Sat, 16 Jul 2005 19:24:21 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EE0043D45 for ; Sat, 16 Jul 2005 19:24:20 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j6GJOFKI090017 for freebsd-questions@FreeBSD.org; Sat, 16 Jul 2005 14:24:15 -0500 (CDT) (envelope-from dan) Date: Sat, 16 Jul 2005 14:24:15 -0500 From: Dan Nelson To: FreeBSD Questions Message-ID: <20050716192415.GA20180@dan.emsphone.com> References: <20050716175456.GA63333@keyslapper.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050716175456.GA63333@keyslapper.net> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i Cc: Subject: Re: Top output isn't quite right X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2005 19:24:21 -0000 In the last episode (Jul 16), Louis LeBlanc said: > I'm confused about the output from top in 5.4-RELEASE-p4. The > gkrellm CPU monitor is telling me I'm running at 95% load while > updating the portsdb, but top tells me everything is taking 0.0% of > the CPU. portsdb -U ends up running a lot of very short-lived processes which don't exist long enough to accumulate enough CPU to show up in top. Watch the "last pid" number and you should see it increment between 100 and 500 per second. If you have process accounting enabled you can run "lastcomm" to see the commands themselves. -- Dan Nelson dnelson@allantgroup.com