When issuing the zonestat 2 1h is command, the following information is displayed:
Which two options accurately describe the statistics contained in the output?
A.
dbzone is using 0.21% of the total CPU resource available in the zone’s processor set.
B.
dbzone is using 0.21% of the global zone’s total CPU.
C.
dbzone is using 5.48% of the total physical memory that has been allocated to the zone.
D.
dbzone is using 2.37% of the global zone’s total virtual memory.
E.
The network is being utilized 100% with no physical bandwidth remaining.
Explanation:
A: %PART
The amount of cpu used as a percentage of the total cpu in a processor-set to which the zone is
bound. A zone can only have processes bound to multiple processor sets if it is the global zone, or
if psrset(1m) psets are used. If multiple binding are found for a zone, it’s %PART is the fraction
used of all bound psets. For [total] and [system], %PART is the percent used of all cpus on the
system.
Note: The zonestat utility reports on the cpu, memory, and resource control utilization of the
currently running zones. Each zone’s utilization is reported both as a percentage of system
resources and the zone’s configured limits.
The zonestat utility prints a series of interval reports at the specified interval. It optionally also
prints one or more summary reports at a specified interval.
Reference: man zonestat
B, D
A, C
My previous variants are incorrect.
A, D correct answers. Do practice…
A and C Aremen.
dbzone is utilising % of system wide total resource allocated to it, not from global zone.
Answers are A & C… Ref: man zonestat and read up on the definitions of the column heading of the command output. Explains all.
Option E just make me laugh.
BD are correct.
The summatoty of zones use values plus system use values correspond to the total use values. the reference of all values is the total resources available.
root@solaris11:~# zonestat 20 1h
Collecting data for first interval…
Interval: 1, Duration: 0:00:20
SUMMARY Cpus/Online: 1/1 PhysMem: 2047M VirtMem: 3071M
—CPU—- –PhysMem– –VirtMem– –PhysNet–
ZONE USED %PART USED %USED USED %USED PBYTE %PUSE
[total] 0.05 5.63% 1128M 55.0% 1561M 50.8% 168 0.00%
[system] 0.02 2.51% 680M 33.2% 952M 30.9% – –
global 0.03 3.08% 382M 18.6% 547M 17.8% 126 0.00%
testzone2 0.00 0.02% 65.4M 3.19% 61.4M 1.99% 42 0.00%
From zonestat man page:
zones Lines detailing the per-zone utiliza-
tion of each resource.
But the utilization values are accordly to the total resources available (Cpus/Online: 1/1 PhysMem: 2047M VirtMem: 3071M)
Have to correct AD:
From zonestat man page:
%USED
The amount of resource used as a percent of the total
resource.
%PART
The amount of cpu used as a percentage of the total cpu
in a processor-set to which the zone is bound. A zone
can only have processes bound to multiple processor sets
if it is the global zone, or if psrset(1M) psets are
used. If multiple binding are found for a zone, it’s
%PART is the fraction used of all bound psets. For
[total] and [system], %PART is the percent used of all
cpus on the system.
A & C I think are corrects
D is wrong memory 2.37 % is not used from global-zone
E %PUSE i low
B is wrong cpu 0,21 % is nuo used grom global-zone