Using the zonestat Utility in a Non-Global Zone

The zonestat network component shows the usage of virtual network (VNIC) resources on
PHYS, AGGR, Etherstub, and SIMNET data-links by zones. Information on other data-links, such
as bridges and tunnels, can be obtained by using the networking utilities described
in the dladm(1M) and dlstat(1M) man pages.

All zonestat options and resource types can also be invoked within a non-global
zone to display statistics for that zone.

root@zoneA:~#zonestat -z global -r physical-memory 2

Note - When zonestat is used in a non-global zone, the combined resource usage of
all other zones, including the global zone, is reported as used by the
global zone. Non-global zone users of zonestat are not aware of the
other zones sharing the system.

How to Use the zonestat Utility to Display a Summary of CPU and Memory Utilization

How to Obtain Network Bandwidth Utilization for Exclusive-IP Zones

The zonestat command used with the -r option and network resource type shows
the per-zone utilization of each network device.

Use this procedure to view how much data-link bandwidth in the form of
VNICs is used by each zone. For example, zoneB displayed under e1000g0 indicates
that this zone consumes resources of e1000g0 in the form of VNICs. The
specific VNICs can be displayed by also adding the -x option.

Become a root administrator.

Use the network resource type to the zonestat command with the -r
option to display the utilization one time.