Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

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

  1. Become root or assume an equivalent role.
  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%     -     -
    ...