Consider the following command:
zonestat –q –r physical-memory –R high –z dbzone –p –P “zones” 10 24h 60m
What data will this command report?
A.
The dbzone’s physical memory usage every hour for a day, displaying the 10 higher usage
intervals for each hour.
B.
All the dbzone’s resource usage, excluding physical memory, 10 times an hour for a day.
C.
The dbzone’s CPU, virtual memory, and networking utilization every hour for a day, displaying
top 10 usage intervals.
D.
The dbzone’s memory and CPU utilization every 10 seconds for a day, displaying peak usage
each hour.
E.
The dbzone’s physical memory usage every 10 seconds for a day. displaying peak usage each
hour.
* man zonestat -q Quiet mode. Only print summary reports (requires the -R option). All
interval reports are omitted. -r resource[,resource] Specify resource types on which to
report. The available resources are: physical-memory, virtual-memory, locked-
memory, processor-set, processes, lwps, shm-memory, shm-ids, sem-ids, msg-ids, lofi,
and network. summary A summary of cpu, physical-memory, vir- tual
memory, and network usage.
* Example 2 :
The following command monitors silently at a 10 second interval for 24 hours, producing a totaland high report every 1 hour:
# zonestat -q -R total,high 10s 24h 1h
answer is E
E is correct
man zonestat
zonestat [-z zonelist] [-r reslist] [-n namelist] [-T u | d | i]
[-R reports] [-q] [-x] [-p [-P lines]]
[-S cols] interval [duration [report]]
So last 3 parameters are: interveal (10), duration (24h) and report (60m)
when -q there is no interveal reported?
root@solaris11:~# zonestat -q -r physical-memory -R high -z apache24 -p -P “zones” 10 24h 10s
report-high:physical-memory:mem_default:apache24:78204K:4.97%:-:-
report-high:physical-memory:mem_default:apache24:78204K:4.97%:-:-
report-high:physical-memory:mem_default:apache24:78204K:4.97%:-:-
root@solaris11:~# zonestat -r physical-memory -R high -z apache24 -p -P “zones” 10 24h 10s
interval:physical-memory:mem_default:apache24:78204K:4.97%:-:-
report-high:physical-memory:mem_default:apache24:78204K:4.97%:-:-
interval:physical-memory:mem_default:apache24:78204K:4.97%:-:-
report-high:physical-memory:mem_default:apache24:78204K:4.97%:-:-
interval:physical-memory:mem_default:apache24:78204K:4.97%:-:-
report-high:physical-memory:mem_default:apache24:78204K:4.97%:-:-
A