Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show vmhost resource-usage

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show vmhost resource-usage
<invoke-on>
<re0 | re1>
<routing engine>

Description

Display the current usage of solid-state drive (SSD), RAM, and CPU resources of the host OS.

Options

invoke-on

(Optional) Display information about resources used by the host OS running on a device that has dual Routing Engines. You can use the all-routing-engine option to display information about resources used by the host OS on all the Routing Engines or the other-routing-engine option to display information about resources used by the host OS on the other Routing Engine. For example, If you issue the command from the primary Routing Engine, the backup Routing Engine is referred to as the other Routing Engine.

re0 | re1

(Optional) On devices that support dual or redundant Routing Engines, display information about resources used by the host OS on the Routing Engine in slot 0 (re0) or on the Routing Engine in slot 1 (re1).

routing-engine

(Optional) Specify the Routing Engine for which the information about resources used by the host OS is to be displayed. The following options are available:

Note:

The QFX10002-60C and PTX10002-60C devices do not have primary and backup routing engines.

  • backup—Backup Routing Engine.

  • both—Primary and the backup Routing Engines.

  • local—Routing Engine on the local Virtual Chassis member.

  • master—Primary Routing Engine.

  • other—If you issue the command from the primary Routing Engine, the backup Routing Engine is referred to as the other Routing Engine.

Required Privilege Level

view

Sample Output

show vmhost resource-usage

content_copy zoom_out_map
user@host> show vmhost resource-usage
Compute cluster: rainier-re-cc

  Compute node: rainier-re-cn                   
   CPU Usage
   =========
   23:15:09   CPU  %usr  %nice    %sys %iowait   %irq   %soft  %steal  %guest   %idle
   23:15:09   all  0.36   0.00    1.16    0.07   0.00    0.01   0.00   74.07   24.34
   23:15:09   0    1.42   0.00    4.46    0.28   0.00    0.03   0.00    0.00   93.81
   23:15:09   1    1.43   0.00    3.87    0.30   0.00    0.03   0.00    0.00   94.38
   23:15:09   2    0.02   0.00    0.42    0.00   0.00    0.01   0.00   98.33    1.22
   23:15:09   3    0.00   0.00    0.14    0.00   0.00    0.00   0.00   98.65    1.21
   23:15:09   4    0.00   0.00    0.09    0.00   0.00    0.00   0.00   98.71    1.19
   23:15:09   5    0.00   0.00    0.10    0.00   0.00    0.00   0.00   98.71    1.19
   23:15:09   6    0.00   0.00    0.11    0.00   0.00    0.00   0.00   98.70    1.19
   23:15:09   7    0.00   0.00    0.12    0.00   0.00    0.00   0.00   98.68    1.19
    
   Memory Usage
   ============
                total       used       free     shared    buffers     cached
   Mem:         63851      51388      12462          0         35        123
   Swap:            0          0          0
    
   Disk Usage
   ==========
   Filesystem                    Size  Used Avail Use% Mounted on
   rootfs                        3.3G  127M  3.0G   5% /
   /dev/sda4                     2.0G  1.7G  166M  91% /.old
   tmpfs                          32G  1.2M   32G   1% /.old/run
   none                           32G  4.0K   32G   1% /.old/dev
   tmpfs                          32G     0   32G   0% /.old/tmp
   tmpfs                          32G     0   32G   0% /.old/tdev
   /dev/mapper/jvg_P-jlvmrootrw  3.3G  127M  3.0G   5% /.old/tdev/.union/.s
   unionfs                       3.3G  127M  3.0G   5% /
   none                           32G  4.0K   32G   1% /dev
   tmpfs                          32G  180K   32G   1% /run
   tmpfs                          32G  8.0K   32G   1% /var/volatile
   /dev/mapper/jvg_P-jlvmjunos    32G   13G   18G  43% /junos
   /dev/mapper/jvg_P-jlvmvm      6.1G  2.7G  3.1G  47% /vm
   /dev/mapper/jvg_P-jlvmspare   287M  2.1M  266M   1% /spare
   cgroup                         32G     0   32G   0% /sys/fs/cgroup
   unionfs                       3.3G  127M  3.0G   5% /run/named-chroot/etc/bind
   tmpfs                          32G  180K   32G   1% /run/named-chroot/var/run/named
   tmpfs                          32G  180K   32G   1% /run/named-chroot/var/run/bind
   unionfs                       3.3G  127M  3.0G   5% /run/named-chroot/var/cache/bind
   unionfs                       3.3G  127M  3.0G   5% /run/named-chroot/etc/localtime
   none                           32G  4.0K   32G   1% /run/named-chroot/dev/random
   none                           32G  4.0K   32G   1% /run/named-chroot/dev/zero
   none                           32G  4.0K   32G   1% /run/named-chroot/dev/null

It is normal to see 100 percentage or close to 100 percentage of CPU usage in the %guest column in the CPU Usage section.

Release Information

Command introduced in Junos OS Release 15.1F3.

Note:

PTX3000 router supports the Routing and Control Board, RCBPTX.

footer-navigation