Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2003 09:29:55 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        Ken Menzel <kenm@icarz.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: No CPU usage in vmstat or top on 4.9 Oct 24th
Message-ID:  <20031028092753.O27950@carver.gumbysoft.com>
In-Reply-To: <139701c39d6a$e0210360$b2db7bd1@icarz.com>
References:  <139701c39d6a$e0210360$b2db7bd1@icarz.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Oct 2003, Ken Menzel wrote:

> Hi,
>    Strange problem,  I have seen once in a while.  I get no CPU usage
> and no IDLE usage either!  Sytem is OK right after boot and then stops
> telling me CPU usage.  Anyone have any ideas/guesses?  System runs
> perfectly except for no CPU stats all 0.

The statclock has stopped on your system.  I think there's a FAQ entry on
this.  There used to be a compile option to change the statclock code to
work around this, but I can't find it right now.

>
> Thanks Ken
> info:
>
> eg: top:
> last pid: 90409;  load averages:  0.14,  0.04,  0.01    up 3+13:01:25
> 10:49:02
> 69 processes:  1 running, 68 sleeping
> CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,
> 0.0% idle
> Mem: 244M Active, 624M Inact, 95M Wired, 35M Cache, 112M Buf, 5028K
> Free
> Swap: 2052M Total, 2052M Free
> or Vmstat
> bash-2.04$ vmstat -c 2
>  procs      memory      page                    disks     faults
> cpu
>  r b w     avm    fre  flt  re  pi  po  fr  sr da0 md0   in   sy  cs
> us sy id
>  1 0 0  799816  41168   44   0   0   0  41   0   0   0 2127  248  14
> 0  0 99
>  0 0 0  799816  41168    5   0   0   0   0   0   0   0 2047   22   9
> 0  0  0
> bash-2.04$
> bash-2.04$ uname -a
> FreeBSD tuvok.icarz.com 4.9-RC FreeBSD 4.9-RC #27: Fri Oct 24 08:52:12
> EDT 2003     sysadm@tuvok.icarz.com:/usr/obj/usr/src/sys/ICARZ  i386
> bash-2.04$
>
> -----------------------------------------------------
> Ken Menzel  ICQ# 9325188
> www.icarz.com  kenm@icarz.com
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



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