Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show app-engine resource-usage

    Syntax

    show app-engine resource-usage<compute-cluster compute-cluster-name compute-node compute-node-name>

    Release Information

    Command introduced in Junos OS Release 12.3.

    Description

    Show the resource usage information of the compute node. Display used and free space available and other information for storage pools, physical disks, and so on.

    Options

    • compute-cluster compute-cluster-name compute-node compute-node-name—Name of the compute cluster and name of the compute node.

    Additional Information

    In the operational mode of the CLI when you type ? for a name, for example a compute-node name, you would expect to get a list of available compute nodes plus the option to type in a name not listed. This is the auto-complete feature in the CLI. However, in JunosV App Engine, , if you specify compute cluster and compute node in the operational command, the auto-complete works only if the compute cluster is put before the compute node.

    For commands with an optional compute-cluster compute-cluster-name option, if that option is omitted, the command will be executed on all compute nodes of all compute clusters. For commands with an optional compute-node compute-node-name option, if that option is omitted, the command will be executed on all compute nodes of the specified compute cluster.

    Required Privilege Level

    view

    List of Sample Output

    show app-engine resource-usage
    show app-engine resource-usage compute-cluster compute-node (compute node offline)
    show app-engine resource-usage compute-cluster compute-node (failure to get information requested)

    Output Fields

    For a description of the output fields, see Table 1. Output fields are listed in the approximate order in which they appear.

    Table 1: show app-engine resource-usage Output Fields

    Field Name

    Field Description

    Compute Cluster

    Name of compute cluster

    Compute Node

    Name of compute node

    CPU Usage

    This section of the display shows the CPU utilization since system startup. Each row displays the CPU utilization of individual CPUs.

    • First column—No heading. This column shows the time at which the CPU usage was taken.
    • CPU—Processor number. The keyword all indicates that statistics are calculated as averages among all processors.
    • %use—Percentage of CPU utilization that occurred while executing at the user level (application).
    • %nice—Percentage of CPU utilization that occurred while executing at the user level with nice priority. UNIX "niceness" value. A lower number indicates a higher priority.
    • %sys—Percentage of CPU utilization that occurred while executing at the system level (kernel). Note that this does not include time spent servicing interrupts or softirqs. A softirq (software interrupt) is one of up to 32 enumerated software interrupts which can run on multiple CPUs at one time.
    • %iowait—Percentage of time that the CPU or CPUs were idle during which the system had an outstanding disk I/O request.
    • %irq—Percentage of time spent by the CPU or CPUs to service interrupts.
    • %soft—Percentage of time spent by the CPU or CPUs to service softirqs. A softirq (software interrupt) is one of up to 32 enumerated software interrupts which can run on multiple CPUs at once.
    • %steal—Percentage of time spent in involuntary wait by the virtual CPU or CPUs while the hypervisor was servicing another virtual processor.
    • %idle—Percentage of time that the CPU or CPUs were idle and the system did not have an outstanding disk I/O request.
    • intr/s—Total number of interrupts received per second by the CPU or CPUs.

    Memory Usage

    This section shows the current memory usage in megabytes. Below are the fields in each row.

    • total—Total memory.
    • used—Used memory.
    • free—Free memory.
    • shared—Ignore this field.
    • buffers—Amount of physical RAM used for file buffers.
    • cached—Amount of physical RAM used as cache memory.

    Mem

    RAM usage.

    Swap

    Swap usage.

    Disk Usage

    This section displays the disk usage of the compute node in Gigabytes.

    • Filesystem—Name of the filesystem.
    • Size—Total space.
    • Used—Used space.
    • Avail—Available space.
    • Use%—Used percentage.
    • Mounted on—Directory in which the filesystem is mounted.

    Storage Information

    Volume information:

    • Volume #—Number of the volume as in Volume0, Volume1, etc.
    • Volume OS name—Drive name that the compute node uses. The drive name consists of the path, drive name, and PCI part number.
    • Volume State—Whether the volume is enabled or disabled and if both disks are working properly.

      The different values for the Volume State are:

      • degraded, enabled
      • optimal, enabled
      • degraded, enabled, resync in progress Resync Progress: total blocks 1757917184, blocks remaining 1488220472, 84%
    • Volume Size—Size of the volume

    Physical disk information:

    • slot#—Disk slot number.
    • Bus—SAS bus number; information used for debugging.
    • Tgt—SAS target number; information used for debugging.
    • Size(GB)—Size of the disk.
    • Volume #—Number of the volume as in Volume0, Volume1, etc.
    • Role—Primary or secondary disk.
    • Type—Model of disk: SAS or SATA.
    • State—Online or offline.

    Internal disk information:

    • Slot#—Disk slot number.
    • Bus—SAS bus number; information used for debugging.
    • Tgt—SAS target number; information used for debugging.
    • Size(GB)—Size of the disk.
    • Type—Model of disk: ships with SATA.
    • Product—Product part number of the disk; information used for debugging.
    • Rev—Rev for the disk; information used for debugging.
    • SASAddress—SAS address allocated to the disk; information used for debugging.
    • PhyNum—Information used for debugging.

    Volume Groups

    All the volumes on the system go into a volume group:

    • VG—Name of the volume group. This is vg01.
    • #PV—Number of physical volumes in use.
    • #LV—Number of logical volumes in use. (These are the volumes created with the secondary-disk configuration statement.)
    • #SN—Serial number.
    • Attr—Attributes. The vg_attr bits are:
                     1  Permissions: (w)riteable, (r)ead-only
      
                     2  Resi(z)eable
      
                     3  E(x)ported
      
                     4  (p)artial: one or more physical volumes belonging to the volume group are missing from the system
      
                     5  Allocation policy: (c)ontiguous, c(l)ing, (n)ormal, (a)nywhere, (i)nherited
      
                     6  (c)lustered
      
    • VSize—Size of the total volume.
    • VFree—Size of the available portion of the volume.

    Sample Output

    show app-engine resource-usage

    user@host> show app-engine resource-usage
    Compute cluster: cc3
    
    Compute node: cn4                       
       CPU Usage
       =========
       08:11:33 CPU  %user %nice  %sys %iowait  %irq  %soft %steal   %idle   intr/s
       08:11:33 all  0.01   0.00  0.04    0.02  0.01   0.00   0.00   99.93  1326.41
       08:11:33   0  0.10   0.00  0.43    0.16  0.12   0.01   0.00   99.19  1326.41
       08:11:33   1  0.00   0.00  0.00    0.00  0.00   0.00   0.00  100.00     0.00
       08:11:33   2  0.00   0.00  0.00    0.00  0.00   0.00   0.00  100.00     0.00
       08:11:33   3  0.00   0.00  0.00    0.00  0.00   0.00   0.00  100.00     0.00
       08:11:33   4  0.00   0.00  0.01    0.00  0.00   0.00   0.00   99.98     0.00
       08:11:33   5  0.00   0.00  0.01    0.00  0.00   0.00   0.00   99.99     0.00
       08:11:33   6  0.00   0.00  0.00    0.00  0.00   0.00   0.00  100.00     0.00
       08:11:33   7  0.00   0.00  0.00    0.00  0.00   0.00   0.00  100.00     0.00
       08:11:33   8  0.01   0.00  0.02    0.09  0.00   0.00   0.00   99.88     0.00
       08:11:33   9  0.01   0.00  0.03    0.00  0.00   0.00   0.00   99.96     0.00
       08:11:33  10  0.00   0.00  0.01    0.00  0.00   0.00   0.00   99.99     0.00
       08:11:33  11  0.00   0.00  0.01    0.00  0.00   0.00   0.00   99.99     0.00
       08:11:33  12  0.00   0.00  0.00    0.00  0.00   0.00   0.00  100.00     0.00
       08:11:33  13  0.02   0.00  0.05    0.00  0.00   0.00   0.00   99.93     0.00
       08:11:33  14  0.01   0.00  0.02    0.00  0.00   0.00   0.00   99.97     0.00
       08:11:33  15  0.00   0.00  0.00    0.00  0.00   0.00   0.00   99.99     0.00
        
       Memory Usage
       ============
                    total       used       free     shared    buffers     cached
       Mem:         48354        442      47912          0          0        315
       Swap:        66767          0      66767
        
       Disk Usage
       ==========
       Filesystem            Size  Used Avail Use% Mounted on
       tmpfs                  24G     0   24G   0% /dev/shm
       /dev/mapper/vg00-sfs  404G   11G  373G   3% /volume/sfs
       /dev/mapper/vg00-lfs  450G  234M  427G   1% /volume/lfs
        
       Storage Information
       ===================
       =============================================================================
       1 volume is active, 1 physical disk is active
        
       Volume 0 is Bus 0 Target 16, Type IM (Integrated Mirroring)
         Volume #:  Volume0
         Volume OS name: /dev/sdd    [8:1:16:0]
         Volume State:  degraded, enabled
         Volume Size 476798 MB, 2 Members
         Primary is Disk in slot 2   Secondary Disk in slot 3 *has failed or is missing*
       =============================================================================
        
                                            
       1 physical disk is active
       slot# Bus Tgt  Size(GB) Volume#   Role       Type  State
       ------------------------------------------------------------------------------
         2    0  18   465.76   Volume0   Primary    SATA  online
       =============================================================================
        
        
        Internal disks
       Slot# Bus Tgt  Size(GB)  Type   Product        Rev SASAddress     PhyNum
       -----------------------------------------------------------------------------
         1    0  19   838.36    SAS     ST9900805SS    0003 5000c50043e5f0b5     1
         0    0  20   838.36    SAS     ST9900805SS    0003 5000c50043e5e701     0
       =============================================================================
        
        
        Unused disks: (Will be added to storage system when its pairing disk is installed)
       Slot# Bus Tgt  Size(GB)  Type   Product        Rev    SASAddress     PhyNum
       -----------------------------------------------------------------------------
       =============================================================================
        
        
       Volume Groups
       =============                        
         VG   #PV #LV #SN Attr   VSize   VFree
         vg01   1   0   0 wz--n- 465.76G 465.76G
    

    show app-engine resource-usage compute-cluster compute-node (compute node offline)

    user@host> show app-engine resource-usage compute-cluster new-cluster compute-node new-node
    Compute cluster: new-cluster
    
      Compute node: new-node
      --- Offline ---
    

    show app-engine resource-usage compute-cluster compute-node (failure to get information requested)

    user@host> show app-engine resource-usage compute-cluster new-cluster compute-node new-node
    Compute cluster: new-cluster
    
      Compute node: new-node
      --- Error getting information ---
    

    Published: 2013-03-12