Celestica Documentation Portal

Find your product documents here

show system processes

Displays the statistics of current processes in the system.

Syntaxshow system processes [pid <pid-value>]
Command mode EXEC
Parameters
  • pid-value – Process identifier.

Usage If the <pid-value> is not passed, CPU utilization of all processes will be displayed.
Supported Releases 1.0.0 or later
Click command show processes {cpu | memory | summary}
Example
sonic# show system processes
--------------------------------------------------------------------------
PID       %CPU      %MEMORY   MEM-USAGE(Bytes)      NAME
--------------------------------------------------------------------------
0          0           0          0
1          0           0          0           /sbin/init
10         0           0          0           [rcu_tasks_rude_]
1096       0           0          0           /usr/bin/containerd-shim-runc-v2
11         0           0          0           [rcu_tasks_trace]
110        0           0          0           [hv_vmbus_con]
111        0           0          0           [ata_sff]
112        0           0          0           [hv_pri_chan]
11233      0           0          0           /usr/bin/python3
1128       0           0          0           /usr/bin/python3
113        0           0          0           [scsi_eh_0]
114        0           0          0           [hv_sub_chan]
1167       0           0          0           /bin/bash
1168       0           0          0           python3
117        0           0          0           [scsi_tmf_0]
119        0           0          0           [scsi_eh_1]
12         0           0          0           [ksoftirqd/0]
120        0           0          0           [scsi_tmf_1]
1212       0           0          0           /usr/bin/containerd-shim-runc-v2
1231       0           0          0           /usr/bin/python3
12389      0           0          0           /usr/bin/containerd-shim-runc-v2
--more--

sonic# show system processes pid 10
-----------------------------------------------------------
Attribute            Value/State
-----------------------------------------------------------
Pid                 :10
Name                :[rcu_tasks_rude_]
Args                :None
Start Time          :0
Uptime              :0
Cpu Usage User      :0
Cpu Usage System    :0
Cpu Utilization     :0
Memory Usage        :0
Memory Utilization  :0
sonic#