Subject: top reports wrong CPU number?
To: None <tech-smp@NetBSD.org>
From: Robert F. Schaefer <rschaefe@gcfn.org>
List: tech-smp
Date: 10/08/2003 20:38:12
When I run top on my 4-way PPRo box, it shows the CPU numbers as 0, 1, 2,
and 4. Before I send-pr this, is it expected behavior? Here's a sample
(during build.sh -j5 distribution):
|load averages: 7.62, 7.72, 7.69
20:31:31
|81 processes: 2 runnable, 75 sleeping, 4 on processor
|CPU states: 79.8% user, 0.0% nice, 18.8% system, 1.3% interrupt, 0.1%
idle
|Memory: 73M Act, 128K Inact, 1536K Wired, 3668K Exec, 18M File, 363M Free
|Swap: 4612M Total, 4612M Free
|
| PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
|20414 root 64 0 468K 1008K CPU/4 0:04 60.45% 17.87% nbmake
|17969 root 64 0 316K 852K CPU/0 0:02 69.68% 9.72% nbmake
| 3699 ratio 60 0 236K 940K CPU/2 3:54 6.01% 6.01% top
|19908 root 64 0 348K 912K CPU/1 0:02 2.83% 2.20% nbmake
|22461 root 64 0 416K 960K RUN/1 0:04 68.13% 17.68% nbmake
|überserver% uname -v
|NetBSD 1.6ZC (SERVER.MP) #0: Wed Oct 8 15:08:48 EDT 2003
ratio@überserver:/a/r
|atio/current/src/src/sys/arch/i386/compile/obj/SERVER.MP
|überserver% top -v
|top: version 3.5beta12
|überserver%
Thanks!
Bob