Re: dual processor or is it !

Nicholas J. Leon (nicholas@binary9.net)
Thu, 4 Mar 1999 01:07:05 -0500 (EST)


On Wed, 3 Mar 1999, Geoff R Deasey wrote:

#
# How can I see what the 2 processors are doing ?
# top lists cpu states for sever catagories, why not 1 line
# for each processor ? Is there any statistics for the two
# processors ?

I'm not sure where I got it, but my top does in fact do what you have
asked:

1:05am up 6 days, 4:27, 11 users, load average: 0.03, 0.08, 0.08
34 processes: 33 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 0.0% user, 0.0% system, 0.0% nice, 100.0% idle
CPU1 states: 1.8% user, 4.6% system, 0.0% nice, 93.6% idle
Mem: 193236K av, 158376K used, 34860K free, 18232K shrd, 81180K buff
Swap: 128508K av, 0K used, 128508K free 25492K cached

PID USER PRI NI SIZE RSS SHARE WCHAN STAT %CPU %MEM TIME
MCPU COMMAND
23581 root 12 0 808 808 636 R 5.5 0.4 0:00
1 top
103 daemon 1 0 588 588 500 do_poll S 0.9 0.3 0:00
1 utmpd
1 root 0 0 196 196 168 do_poll S 0.0 0.1 0:10
0 init [3]

Including showing what CPU a given process last ran on (MCPU, first column
of my badly wrapped top display).

Proc-Top Revision 1.2 on 2.2.2 on intel.

G'day!
-- n i c h o l a s j l e o n
elegance through simplicity*http://mrnick.binary9.net*nicholas@binary9.net
good fortune through truth*roaming:njllm@email.msn.com*ICQ#2170994*U+($++)
TRA#6805*not all questions have answers*pseudogeek:P+++($++)L+($++)W=lm@b9
trust no-one with an iq under 150*understand yourself before trying others

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/