Hi,

I've a problem on Solaris 8 with CPU measure !

If i make a prstat or a ps (/usr/bin & /usr/ucb), I have the following result :
- 4.4% : vxconfigd
And if I make a top I have :
- 47.49% : vxconfigd
I should divide top result by the number of processors (Here 4 : V490) : 11.87% 
for top.

Maybe I should take the prstat rather than top... but I saw another thing !
A = SUM(%CPU of each process) with prstat or ps
B = SUM(%CPU of each process) with top
C = SYS+USR with vmstat (or iostat or sar)

Result :
A = 15.6%
B = 43.13%
C = 50%

Why is there a such difference between prstat and top and why top seems to be 
beeter here ???

Thank's for replies...

CedBer



PS : Our config is...

# psrinfo -vp
The UltraSPARC-IV physical processor has 2 virtual processors (0, 16)
The UltraSPARC-IV physical processor has 2 virtual processors (1, 17)
The UltraSPARC-IV physical processor has 2 virtual processors (2, 18)
The UltraSPARC-IV physical processor has 2 virtual processors (3, 19)

# uname -a
SunOS aitne 5.8 Generic_117350-47 sun4u sparc SUNW,Sun-Fire-V490


# prtdiag
System Configuration:  Sun Microsystems  sun4u Sun Fire V490
System clock frequency: 150 MHz
Memory size: 16384 Megabytes

====== CPUs ======

          Run   E$  CPU     CPU
Brd  CPU  MHz   MB  Impl.   Mask
--- ----- ---- ---- ------- ----
 A  0, 16 1350 16.0 US-IV    3.1
 B  1, 17 1350 16.0 US-IV    3.1
 A  2, 18 1350 16.0 US-IV    3.1
 B  3, 19 1350 16.0 US-IV    3.1
 
 
This message posted from opensolaris.org
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to