cpu usage

Dear All ,I am install solaris 10 06/06 on t2000 and around 10 zones , and install smc also , and have 8 core cpu and 16 gb ram.my question , what tool / command to check my cpu utilization (8 x cpu %). RegardsHadi
[249 byte] By [hadi74] at [2007-11-26 11:14:06]
# 1
Try :prstat -ZIn this mode, prstat displays separate reports about processes and zones at the same time.Regards,
jsuche at 2007-7-7 3:28:43 > top of Java-index,Administration Tools,Sun Management Center...
# 2

Hi jsuche ,

Thanks for reply , i see all utilization on my server , just want make sure , is the global mean usage cpu and memory represent usage for entire server ?

ZONEIDNPROC SIZERSS MEMORYTIME CPU ZONE

020619G 8722M54% 623:16:58 6.7% global

1038 1027M 651M4.0% 745:33:10 6.1% webssl

432 849M 454M2.8%1:17:14 0.0% splunk

2112 7627M 2007M12%7:20:33 0.0% mail

2555 881M 447M2.7%0:10:21 0.0% smcs

132 438M82M0.5%9:37:14 0.0% ldapadm

1335 1792M 131M0.8%2:46:13 0.0% chocolate

529 127M44M0.3%0:30:10 0.0% subversion

2229 130M53M0.3%0:07:01 0.0% dashboard

1930 131M51M0.3%0:10:03 0.0% pink

629 127M47M0.3%0:29:39 0.0% teamfolder

Total: 689 processes, 4325 lwps, load averages: 4.11, 4.11, 4.11

Regards

Hadi

hadi74 at 2007-7-7 3:28:43 > top of Java-index,Administration Tools,Sun Management Center...
# 3

Hope this helps.

The 6.7% is the percentage of CPU time used by the process at the moment you ran prstat.

If you execute prstat in a non-global zone and the pools facility is in use, the percentage will be for the processors in the processor set in use by the pool bound to the zone.

The 54% is the percentage of the memory that was used used by processes running in GLOBAL when you ran prstat

A good reference that will give you a better understanding of what prstat displays is the Solaris Containers - Resource Management and Solaris Zones document listed under the Solaris 10/System Administrator Collection on docs.sun.com and 'man prstat' under the man pages on you system.

Regards,

jsuche

jsuche at 2007-7-7 3:28:43 > top of Java-index,Administration Tools,Sun Management Center...