From owner-freebsd-questions Fri Oct 18 8:27: 0 2002 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 A0BC037B401 for ; Fri, 18 Oct 2002 08:26:59 -0700 (PDT) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97CE443EB2 for ; Fri, 18 Oct 2002 08:26:58 -0700 (PDT) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from sub21-156.member.dsl-only.net (freebsd.localhost.localdomain [127.0.0.1]) by sub21-156.member.dsl-only.net (8.12.5/8.12.5) with ESMTP id g9IFZG2T038759 for ; Fri, 18 Oct 2002 08:35:16 -0700 (PDT) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: (from nkinkade@localhost) by sub21-156.member.dsl-only.net (8.12.5/8.12.5/Submit) id g9IFZAqc038758 for freebsd-questions@freebsd.org; Fri, 18 Oct 2002 08:35:10 -0700 (PDT) (envelope-from nkinkade) Date: Fri, 18 Oct 2002 08:35:10 -0700 From: Nathan Kinkade To: freebsd-questions@freebsd.org Subject: Re: Top not showing correct CPU utilization Message-ID: <20021018153510.GB36930@sub21-156.member.dsl-only.net> Reply-To: nkinkade@dsl-only.net Mail-Followup-To: freebsd-questions@freebsd.org References: <20021018045345.E71AC3C35@sitemail.everyone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021018045345.E71AC3C35@sitemail.everyone.net> User-Agent: Mutt/1.4i 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 On Thu, Oct 17, 2002 at 09:53:45PM -0700, Elite Scholar wrote: > 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 How did you upgrade your machine? Did you download ALL system sources and do a `make buildword -> make buildkernel -> make installkernel -> reboot -> make installworld'? I'm not sure if this is your problem, but frequently when problems like this are aired on the list it turns out to be a problem related to userland code being out of sync with the kernel code. Verify that all your sources are up to date. Nathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message