show system visibility cpu
Syntax
show system visibility cpu
Description
Display details such as per CPU statistics, per CPU usage, and CPU pinning for a Junos OS platform.
Required Privilege Level
view
Output Fields
Table 1
lists the output fields for the show system visibility 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 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. |
|
The amount of service time, in seconds. |
Fields for CPU Usages | |
|
The CPU ID |
|
The percentage of CPU used. |
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 visibility cpu (NFX150)
- show system visibility cpu (NFX250 (NG))
- show system visibility cpu (NFX350)
show system visibility cpu (NFX150)
user@host> show system visibility cpu CPU Statistics (Time in sec) ------------------------------------------------------------------------------- CPU Id User Time System Time Idle Time Nice Time IOWait Time Intr. Service Time ------ --------- ----------- --------- --------- ----------- ------------------ 0 542 392 879 0 5 0 1 1747 1 97 0 0 0 2 29 40 1742 0 0 0 3 1361 0 483 0 0 0 4 213 27 1594 0 5 0 5 0 0 1844 0 0 0 6 17 3 1821 0 1 0 7 17 5 1821 0 0 0 CPU Usages ---------------- CPU Id CPU Usage ------ --------- 0 34.600000000000001 1 100.0 2 7.0 3 100.0 4 0.0 5 0.0 6 0.0 7 0.0 CPU Pinning Information --------------------------------------- Virtual Machine vCPU CPU --------------------------- ------- --- vjunos0 0 0 Emulator Thread Pinning Information ------------------------------- Virtual Machine CPU --------------------------- --- vjunos0 0 System Component CPUs Quota ------------------------------- -------- ----- ovs-vswitchd 0-1 riot 0,2 srxpfe 0,3 jdm 0
show system visibility cpu (NFX250 (NG))
user@host> show system visibility cpu CPU Statistics (Time in sec) ------------------------------------------------------------------------------- CPU Id User Time System Time Idle Time Nice Time IOWait Time Intr. Service Time ------ --------- ----------- --------- --------- ----------- ------------------ 0 40084 1324 270 0 2 0 1 203 395 41009 0 10 0 2 209 21 41435 0 22 0 3 0 0 41680 0 21 0 4 41659 0 64 0 0 0 5 6150 376 33392 0 0 0 6 0 0 41712 0 8 0 7 0 0 41714 0 6 0 CPU Usages ---------------- CPU Id CPU Usage ------ --------- 0 100.0 1 1.0 2 0.0 3 0.0 4 100.0 5 100.0 6 0.0 7 0.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 1
show system visibility cpu (NFX350)
user@host> show system visibility cpu CPU Statistics (Time in sec) ------------------------------------------------------------------------------- CPU Id User Time System Time Idle Time Nice Time IOWait Time Intr. Service Time ------ --------- ----------- --------- --------- ----------- ------------------ 0 1463 76 148 0 3 0 1 1616 3 78 0 0 0 2 1300 1 395 0 0 0 3 112 13 1567 0 2 0 4 1 0 1693 0 1 0 5 0 0 1695 0 2 0 6 0 0 1697 0 0 0 7 0 0 1696 0 0 0 8 188 18 1475 0 4 0 11 0 0 1698 0 0 0 12 0 0 1698 0 0 0 13 0 0 1698 0 0 0 14 0 0 1698 0 0 0 15 0 0 1698 0 0 0 CPU Usages ---------------- CPU Id CPU Usage ------ --------- 0 100.0 1 100.0 2 100.0 3 0.0 4 0.0 5 1.0 6 0.0 7 0.0 8 23.0 11 0.0 12 0.0 13 0.0 14 0.0 15 0.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 18.1R1.