Re: Re: Top No CPU Stats


Subject: Re: Re: Top No CPU Stats
duanestites@cox.net
Date: Wed Feb 20 2002 - 14:52:28 MST


I tried the "t" option and it does remove the stats but it still does not show the "CPU States:" usage information. I also tried deleting the .toprc file and I have the same problem.
>
> From: Ken Schweigert <ken@byte-productions.com>
> Date: 2002/02/20 Wed PM 04:39:23 EST
> To: yellowdog-general@lists.yellowdoglinux.com
> Subject: Re: Top No CPU Stats
>
> Duane,
>
> top runs as an interactive process. If you hit 't' it'll toggle on/off the
> summary stats. Hit '?' for other nifty toggles. Also check for the
> presence of the file .toprc in your home directory. If it's there, and you
> have your summary line displaying, hit 'W' to write-out this file.
>
> top is also a front-end to some structures in the proc filesystem. You can
> get the same results, although not formatted pretty, by doing :
> [ken@byte-8 ken]$ cd /proc
> [ken@byte-8 /proc]$ cat loadavg
> 1.02 1.01 1.00 2/35 868
> [ken@byte-8 /proc]$ cat uptime
> 11056.90 29.73
> [ken@byte-8 /proc]$ cat meminfo
> total: used: free: shared: buffers: cached:
> Mem: 393519104 68407296 325111808 42811392 4042752 30302208
> Swap: 134209536 0 134209536
> MemTotal: 384296 kB
> MemFree: 317492 kB
> MemShared: 41808 kB
> Buffers: 3948 kB
> Cached: 29592 kB
> SwapTotal: 131064 kB
> SwapFree: 131064 kB
>
> Hope this helps.
>
> --
> -Ken Schweigert, Aspiring Network Administrator
> Byte Productions, LLC
> http://www.byte-productions.com
>
> On Wed, Feb 20, 2002 at 04:00:13PM -0500, duanestites@cox.net wrote:
> > My top does not display the "CPU states: 0.0% user, 0.3% system, 0.0% nice, 99.6% idle" information. I tried starting it up with the -C switch. This brings up the CPU stats line, but everything shows as 0.0% no mater what I am doing.
> >
> > This is a 7200/120 YD2.1 2.4.18-rc1 benh kernel (this also happened with the original kernel). Has anyone had this happen or know of a fix?
> >
> > Duane
> >
> >
>
>



This archive was generated by hypermail 2a24 : Wed Feb 20 2002 - 15:07:59 MST