show processes cpu

  • Displays the current CPU usage by process
  • Example:
admin@SONiC:~$ show processes cpu
top - 23:50:08 up  1:18,  1 user,  load average: 0.25, 0.29, 0.25
Tasks: 161 total,   1 running, 160 sleeping,   0 stopped,   0 zombie
%Cpu(s):  3.8 us,  1.0 sy,  0.0 ni, 95.1 id,  0.1 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   8181216 total,  1161060 used,  7020156 free,   105656 buffers
KiB Swap:        0 total,        0 used,        0 free.   557560 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 2047 root      20   0  683772 109288  39652 S  23.8  1.3   7:44.79 syncd
 1351 root      20   0   43360   5616   2844 S  11.9  0.1   1:41.56 redis-server
10093 root      20   0   21944   2476   2088 R   5.9  0.0   0:00.03 top
    1 root      20   0   28992   5508   3236 S   0.0  0.1   0:06.42 systemd
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kthreadd
    3 root      20   0       0      0      0 S   0.0  0.0   0:00.56 ksoftirqd/0
    5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0H

results matching ""

    No results matching ""