Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019
 
 

Using zonestat to Report Total and High Utilization

  1. Assume the root role.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Monitor silently at a 10-second interval for 3 minutes, then produce a report on the total and high utilizations.
    # zonestat -q -R total,high 10s 3m 3m
    Report: Total Usage
        Start: Fri Aug 26 07:32:22 PDT 2011
          End: Fri Aug 26 07:35:22 PDT 2011
        Intervals: 18, Duration: 0:03:00
    SUMMARY                   Cpus/Online: 2/2   PhysMem: 2046M  VirtMem: 3069M
                        ---CPU----  --PhysMem-- --VirtMem-- --PhysNet--
                   ZONE  USED %PART  USED %USED  USED %USED PBYTE %PUSE
                [total]  0.01 0.62% 1020M 49.8% 1305M 42.5%    14 0.00%
               [system]  0.00 0.23%  782M 38.2% 1061M 34.5%     -     -
                 global  0.00 0.38%  185M 9.06%  208M 6.77%     0 0.00%
                  test2  0.00 0.00% 52.4M 2.56% 36.6M 1.19%     0 0.00%
    
    Report: High Usage
        Start: Fri Aug 26 07:32:22 PDT 2011
          End: Fri Aug 26 07:35:22 PDT 2011
        Intervals: 18, Duration: 0:03:00
    SUMMARY                   Cpus/Online: 2/2   PhysMem: 2046M  VirtMem: 3069M
                        ---CPU----  --PhysMem-- --VirtMem-- --PhysNet--
                   ZONE  USED %PART  USED %USED  USED %USED PBYTE %PUSE
                [total]  0.01 0.82% 1020M 49.8% 1305M 42.5%  2063 0.00%
               [system]  0.00 0.26%  782M 38.2% 1061M 34.5%     -     -
                 global  0.01 0.55%  185M 9.06%  207M 6.77%     0 0.00%
                  test2  0.00 0.00% 52.4M 2.56% 36.6M 1.19%     0 0.00%