The most useful new utility is zonestat
. Similar in principle to the other *stat
tools, it will give you a repeating snapshot over time of relevant resources being used, where you tell it the interval between each output. It was actually possible already to get per-zone statistics with
prstat -Z
, but that forced you to look at "ps" style output as well.
In contrast, the new
zonestat
tool has many more options, and its output is focused purely on entire zone-level usage. See the manpage for full details, but in general terms, zonestat
lets you see each zone's total CPU, memory, and network bandwidth usage.
It is possible to run the zonestat
command within a zone, but you will only see statistics for that zone.
An additional tool of interest is zonep2vchk
. The purpose of this tool is to check for potential difficulties when transferring a
physical zone (that is, a global zone) "2" a virtual one. Its default mode is to look at installed services to see if they are compatible...