From owner-freebsd-bugs Thu Oct 17 21:40: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0FDF37B404 for ; Thu, 17 Oct 2002 21:40:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D2CF43E7B for ; Thu, 17 Oct 2002 21:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9I4e1x3008189 for ; Thu, 17 Oct 2002 21:40:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9I4e10p008188; Thu, 17 Oct 2002 21:40:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 533C737B404 for ; Thu, 17 Oct 2002 21:30:08 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 972AD43E6A for ; Thu, 17 Oct 2002 21:30:07 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9I4U77R004779 for ; Thu, 17 Oct 2002 21:30:07 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g9I4U7Yf004778; Thu, 17 Oct 2002 21:30:07 -0700 (PDT) Message-Id: <200210180430.g9I4U7Yf004778@www.freebsd.org> Date: Thu, 17 Oct 2002 21:30:07 -0700 (PDT) From: Rodel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/44189: top not showing correct CPU utilization in FreeBSD 4.7-Stable Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44189 >Category: misc >Synopsis: top not showing correct CPU utilization in FreeBSD 4.7-Stable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 17 21:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Rodel >Release: >Organization: Home User >Environment: FreeBSD mybox.com 4.7-STABLE FreeBSD 4.7-STABLE #2: Sun Oct 13 16:41:48 PDT 2002 scholar@mybox.com:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: Built and installed custom kernel. All seemed to have gone well except when I run "top". It always shows 0.00% Utilized. I know that setiathome should be showing 90's + utilization. The weird part about this is that I did a "shutdown now" and I cut power to my box too early. Then when I turned mybox back up "top" was working again. When I did a dmesg to see what happened. I saw an error stating that "/" was improperly unmounted. So I figured that it's fixed but to make sure I did a "shutdown -r now" to see if it happens again. And sure enough.. Back to 0.00% Utilization. Any help would be appreciated. last pid: 220; load averages: 1.00, 0.97, 0.78 up 0+00:24:06 21:19:32 31 processes: 2 running, 29 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 0.0% idle Mem: 33M Active, 14M Inact, 16M Wired, 60K Cache, 15M Buf, 61M Free Swap: 241M Total, 241M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 149 nobody 48 10 16556K 15380K RUN 22:55 0.00% 0.00% setiathome 171 root 2 0 2328K 2032K select 0:01 0.00% 0.00% sshd 127 root 10 0 6788K 6452K nanslp 0:00 0.00% 0.00% perl 118 root 2 0 3772K 3124K select 0:00 0.00% 0.00% httpd 155 root 2 0 3424K 2816K select 0:00 0.00% 0.00% snmpd 89 root 2 0 2224K 1668K select 0:00 0.00% 0.00% sshd 147 mysql 2 0 26872K 4756K poll 0:00 0.00% 0.00% mysqld >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message