show system inventory hardware cpu
Syntax
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.
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).
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 | |
|
The CPU ID |
|
The amount of user time, in seconds. |
|
The amount of system time, in seconds. |
|
The amount of time spent in idle mode, in seconds. |
|
The amount of spent nice time, in seconds. |
|
The amount of time spent waiting for input/output (I/O) operations, in seconds. |
|
The amount of interrupt service time, in seconds. |
Fields for CPU Pinning Information | |
|
The name of the virtual machine. |
|
The ID of virtual CPUs used by the virtual machine. |
|
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. |
|
The name of the system component. |
|
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)
- show system inventory hardware cpu (NFX250 (NG))
- show system inventory hardware cpu (NFX350)
show system inventory hardware cpu (NFX150)
user@host> show system inventory hardware cpu
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))
user@host> show system inventory hardware cpu
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)
user@host> show system inventory hardware cpu
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.