Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2002 21:53:45 -0700 (PDT)
From:      Elite Scholar <scholar@techemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Top not showing correct CPU utilization
Message-ID:  <20021018045345.E71AC3C35@sitemail.everyone.net>

next in thread | raw e-mail | index | archive | help
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

_____________________________________________________________
Are you a Techie? Get Your Free Tech Email Address Now! Visit http://www.TechEmail.com

_____________________________________________________________
Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021018045345.E71AC3C35>