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 system inventory hardware cpu

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show system inventory hardware cpu

Description

Display system CPU statistics.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show system inventory hardware cpu command. Output fields are listed in the approximate order in which they appear.

Note:

Starting in Junos OS Release 22.1R1, the CPU allocations are displayed as a number range (for example, 4-7) instead of individual numbers (for example, 4,5,6,7).

Table 1: show system inventory hardware cpu Output Fields

Field Name

Field Description

Fields for Inventory CPU Information
No of CPUs Total number of CPUs.
No of Logical CPUs/Hyper threads Total number of hyper threads.
No of CPU sockets Total number of CPU sockets.
No of Cores per socket Total number of cores per socket.
No of Hyper threads per core Total number of hyper threads per core.
CPU Vendor The name of the CPU vendor.
CPU Model The CPU model.
CPU Architecture The type of CPU architecture.
CPU Speed The CPU speed, in GHz.
CPU Cache The size of the CPU cache.
No of Max vCPUs The maximum number of allowed virtual CPUs.
Fields for CPU Statistics

CPU ID

The CPU ID

User Time

The amount of user time, in seconds.

System Time

The amount of system time, in seconds.

Idle Time

The amount of time spent in idle mode, in seconds.

Nice Time

The amount of spent nice time, in seconds.

I/O Wait Time

The amount of time spent waiting for input/output (I/O) operations, in seconds.

Interrupt Service Time

The amount of interrupt service time, in seconds.

Fields for CPU Pinning Information

Virtual Machine

The name of the virtual machine.

vCPU

The ID of virtual CPUs used by the virtual machine.

CPU

The ID of CPUs used by the virtual machine.

Fields for Emulator Thread Pinning Information (This section is displayed starting in Junos OS Release 22.1R1.)
Virtual Machine

The name of the virtual machine.

CPU

The ID of CPUs used by the virtual machine.

System Component

The name of the system component.

CPUs

The ID of CPUs used by the system component.

Quota

The CPU quota configured using the cpu colocation quota parameter.
Note:

This parameter is displayed starting in Junos OS Release 22.1R1.

Sample Output

show system inventory hardware cpu (NFX150)

content_copy zoom_out_map
user@host> show system inventory hardware cpu
content_copy zoom_out_map
Inventory CPU Information
-------------------------
No of CPUs:                       4
No of Logical CPUs/Hyper threads: 4
No of CPU sockets:                1
No of Cores per socket:           4
No of Hyper threads per core:     1
No of Max VCPUs:                  4
CPU Vendor:                       GenuineIntel
CPU Model:                        Intel(R) Atom(TM) CPU C3558 @ 2.20GHz
CPU Architecture:                 x86_64
CPU Speed:                        2.2000 GHz
CPU Cache:                        2048 KB

CPU Statistics (Time in sec)
----------------------------
User Time:              1044
System Time:            90
Idle Time:              5605
I/O Wait Time:          21
Nice Time:              0
Interrupt Service Time: 0

CPU Pinning Information
---------------------------------------
Virtual Machine             vCPU    CPU
--------------------------- ------- ---
vjunos0                     0       0
testvnf1                    0       2-3

show system inventory hardware cpu (NFX250 (NG))

content_copy zoom_out_map
user@host> show system inventory hardware cpu
content_copy zoom_out_map
Inventory CPU Information
-------------------------
No of CPUs:                       4
No of Logical CPUs/Hyper threads: 8
No of CPU sockets:                1
No of Cores per socket:           4
No of Hyper threads per core:     2
No of Max VCPUs:                  8
CPU Vendor:                       GenuineIntel
CPU Model:                        Intel(R) Pentium(R) CPU D1517 @ 1.60GHz
CPU Architecture:                 x86_64
CPU Speed:                        1.6000 GHz
CPU Cache:                        6144 KB

CPU Statistics (Time in sec)
----------------------------
User Time:              88347
System Time:            2121
Idle Time:              241343
I/O Wait Time:          73
Nice Time:              0
Interrupt Service Time: 0

CPU Pinning Information
---------------------------------------
Virtual Machine             vCPU    CPU
--------------------------- ------- ---
vjunos0                     0       0
testvnf1                    0       2
testvnf1                    1       6-7

Emulator Thread Pinning Information
-------------------------------
Virtual Machine             CPU
--------------------------- ---
vjunos0                     0
testvnf1                    2-3


System Component                CPUs     Quota
------------------------------- -------- -----
ovs-vswitchd                    0,4
srxpfe                          1,5
jdm  

show system inventory hardware cpu (NFX350)

content_copy zoom_out_map
user@host> show system inventory hardware cpu
content_copy zoom_out_map
Inventory CPU Information
-------------------------
No of CPUs:                       8
No of Logical CPUs/Hyper threads: 16
No of CPU sockets:                1
No of Cores per socket:           8
No of Hyper threads per core:     2
No of Max VCPUs:                  14
CPU Vendor:                       GenuineIntel
CPU Model:                        Intel(R) Xeon(R) D-2146NT CPU @ 2.30GHz
CPU Architecture:                 x86_64
CPU Speed:                        2.3000 GHz
CPU Cache:                        11264 KB

CPU Statistics (Time in sec)
----------------------------
User Time:              4738
System Time:            115
Idle Time:              19399
I/O Wait Time:          17
Nice Time:              0
Interrupt Service Time: 0

CPU Pinning Information
---------------------------------------
Virtual Machine             vCPU    CPU
--------------------------- ------- ---
vjunos0                     0       8
testvnf1                    0       3-4
testvnf1                    1       5-7

Emulator Thread Pinning Information
-------------------------------
Virtual Machine             CPU
--------------------------- ---
vjunos0                     8
testvnf1                    11-15


System Component                CPUs     Quota
------------------------------- -------- -----
ovs-vswitchd                    1,8
srxpfe                          0,2
jdm                             8

Release Information

Command introduced in Junos OS Release 15.1X53-D40.

footer-navigation