show app-engine resource-usage
Syntax
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-usageshow 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 11. Output fields are listed in the approximate order in which they appear.
Table 11: 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.
|
Memory Usage | This section shows the current memory usage in megabytes. Below are the fields in each row.
|
Mem | RAM usage. |
Swap | Swap usage. |
Disk Usage | This section displays the disk usage of the compute node in Gigabytes.
|
Storage Information | Volume information:
Physical disk information:
Internal disk information:
|
Volume Groups | All the volumes on the system go into a volume group:
|
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 ---