Which command would you use to view the CPU utilization for all of the zones to confirm this?

The global zone has 8 CPUS. YOU suspect that one of your non global /ones, dbzone, is
consuming all of the CPU resources.
Which command would you use to view the CPU utilization for all of the zones to confirm this?

The global zone has 8 CPUS. YOU suspect that one of your non global /ones, dbzone, is
consuming all of the CPU resources.
Which command would you use to view the CPU utilization for all of the zones to confirm this?

A.
Run from the global zone:
prstat -Z

B.
Run from each zone
zlogin <zonename> mpstat

C.
Run from the global zone:
zonestar -r summary

D.
Run from the global zone:
rctladm -1

E.
Run from the global zone:
prctl -i

Explanation:
If you’re logged on to the system, you can run prstat -Z to generate a summary of
cpu/memory utilization by zone.



Leave a Reply 4

Your email address will not be published. Required fields are marked *

3 × one =


Mir

Mir

zonestat -r summary…..i go with C option bcz it give you breif information of zones consumption CPU, RAM, Network.

DM

DM

# zonestat -r summary
zonestat: Error: Interval required.

you need yo set an interval:

# zonestat -r summary 5 – as an example.

So A is the correct one.

rocky

rocky

[A] for sure.

prstat -Z :

PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
7162 root 21M 19M sleep 59 0 0:00:19 3.8% svc.configd/26
7710 root 106M 29M sleep 16 0 0:00:00 0.3% sysconfig/1
7754 root 11M 3628K cpu0 59 0 0:00:00 0.3% prstat/1
5623 root 19M 18M sleep 59 0 0:00:04 0.2% svc.configd/44
5 root 0K 0K sleep 99 -20 0:00:06 0.2% zpool-rpool/137
7160 root 18M 15M sleep 59 0 0:00:01 0.1% svc.startd/13
6201 root 106M 29M sleep 59 0 0:00:00 0.1% sysconfig/1
5621 root 19M 16M sleep 59 0 0:00:01 0.0% svc.startd/13
628 root 9888K 1844K sleep 59 0 0:00:02 0.0% in.routed/1
209 root 14M 5268K sleep 29 0 0:00:00 0.0% devfsadm/6
4164 root 19M 4592K sleep 48 0 0:00:00 0.0% sshd/1
6003 root 20M 6556K sleep 59 0 0:00:00 0.0% zoneadmd/5
15 root 23M 21M sleep 29 0 0:00:18 0.0% svc.configd/31
829 root 102M 20M sleep 49 0 0:00:00 0.0% fmd/30
2027 root 10M 2244K sleep 59 0 0:00:00 0.0% bash/1
ZONEID NPROC SWAP RSS MEMORY TIME CPU ZONE
2 16 62M 80M 3.9% 0:00:20 4.2% clonezone
0 92 239M 167M 8.1% 0:00:34 0.5% global
1 16 62M 75M 3.6% 0:00:05 0.3% testzone

Total: 124 processes, 1296 lwps, load averages: 1.30, 0.67, 0.26