Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019
 
 

How to Use the zonestat Utility to Display a Summary of CPU and Memory 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. Display a summary of CPU and memory utilization every 5 seconds.
    # zonestat -z global -r physical-memory 5
    Collecting data for first interval...
    Interval: 1, Duration: 0:00:05
    PHYSICAL-MEMORY              SYSTEM MEMORY
    mem_default                          2046M
                                    ZONE  USED %USED   CAP  %CAP
                                 [total] 1020M 49.8%     -     -
                                [system]  782M 38.2%     -     -
                                  global  185M 9.06%     -     -
    
    Interval: 2, Duration: 0:00:10
    PHYSICAL-MEMORY              SYSTEM MEMORY
    mem_default                          2046M
                                    ZONE  USED %USED   CAP  %CAP
                                 [total] 1020M 49.8%     -     -
                                [system]  782M 38.2%     -     -
                                  global  185M 9.06%     -     -
    ...