show system visibility cpu
语法
show system visibility cpu
描述
显示详细信息,例如 Junos OS 平台的每个 CPU 统计信息、每个 CPU 使用率和 CPU 固定。
所需权限级别
视图
输出字段
表 1 列出了命令 show system visibility cpu
的输出字段。输出字段按其出现的大致顺序列出。
注意:
从 Junos OS 版本 22.1R1 开始,CPU 分配显示为数字范围(例如 4-7),而不是单个数字(例如 4,5,6,7)。
字段名称 |
字段说明 |
---|---|
CPU 统计信息的字段 | |
|
The CPU ID |
|
用户时间量(以秒为单位)。 |
|
系统时间量(以秒为单位)。 |
|
在空闲模式下花费的时间量(以秒为单位)。 |
|
花费的美好时间,以秒为单位。 |
|
等待输入/输出 (I/O) 操作所花费的时间(以秒为单位)。 |
|
中断服务时间量,以秒为单位。 |
|
服务时间,以秒为单位。 |
CPU 使用率字段 | |
|
The CPU ID |
|
已用 CPU 的百分比。 |
CPU 固定信息的字段 | |
|
虚拟机的名称。 |
|
虚拟机使用的虚拟 CPU 的 ID。 |
|
虚拟机使用的 CPU 的 ID。 |
仿真器线程固定信息的字段(此部分从 Junos OS 22.1R1 版开始显示。) | |
虚拟机 | 虚拟机的名称。 |
Cpu | 虚拟机使用的 CPU 的 ID。 |
|
系统组件的名称。 |
|
系统组件使用的 CPU 的 ID。 |
配额 |
使用该参数配置 cpu colocation quota 的 CPU 配额。
注意:
此参数从 Junos OS 22.1R1 版开始显示。 |
示例输出
显示系统可见性 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
显示系统可见性 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
显示系统可见性 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
发布信息
在 Junos OS 18.1R1 版中引入的命令。