On Sunday 01 January 2006 06:29 pm, Chris wrote:

> Where is the line that reflects CPU states?
> This is very misleading without the WHOLE paste.

My version of top doesn't display the CPU state line when in batch mode.

$ top -S -n 5
last pid: 98339;  load averages:  1.29,  1.62,  1.62  up 29+03:10:18    18:37:32
314 processes: 8 running, 284 sleeping, 21 waiting, 1 lock

In batch mode:

Mem: 891M Active, 77M Inact, 221M Wired, 52M Cache, 112M Buf, 3548K Free
Swap: 4096M Total, 313M Used, 3783M Free, 7% Inuse


  PID USERNAME         THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
   11 root               1 171   52     0K     8K RUN    524.5H 42.97% idle
73955 root               1 100    0   164M   138M RUN     21:56  7.96% Xorg
88671 kirk               1  99    0 58644K 30060K select   4:59  5.08% 
gtk-gnutella
74061 kirk               1  97    0 40608K 26468K select   5:34  1.07% kdeinit
   27 root               1 -32 -151     0K     8K RUN    100:01  0.83% swi4: 
clock sio


In interactive mode:

last pid: 98348;  load averages:  3.72,  2.08,  1.78                            
                              up 29+03:10:49  18:38:03
258 processes: 10 running, 248 sleeping
CPU states: 19.8% user,  8.2% nice, 34.2% system,  4.7% interrupt, 33.1% idle
Mem: 874M Active, 98M Inact, 222M Wired, 47M Cache, 112M Buf, 2716K Free
Swap: 4096M Total, 313M Used, 3782M Free, 7% Inuse


I just realized a little earlier that I'm running a build from November 2.
I'm going to make world again and see if the problem fixes itself.
-- 
Kirk Strauser

Attachment: pgp6q6DFn4DL8.pgp
Description: PGP signature

Reply via email to