show processes cpu

To display the CPU utilization information for processes on the device, use the show processes cpu command.

show processes cpu

Syntax Description

This command has no arguments or keywords.

Command Default

Displays information for all processes in the local device.

Command Modes

EXEC mode

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

This example shows how to display the CPU utilization information for the processes:

switch# show processes cpu 

PID    Runtime(ms)  Invoked   uSecs  1Sec    Process
-----  -----------  --------  -----  ------  -----------
    1         1802     22973     78    0.0%  init
    2          440     44555      9    0.0%  ksoftirqd/0
    3           79     17021      4    0.0%  desched/0
    4         2097     92976     22    0.0%  events/0
    5           71      3224     22    0.0%  khelper
   10            0        18     20    0.0%  kthread
   18            0         2      2    0.0%  kacpid
  169            5       669      8    0.0%  kblockd/0
  182          121        42   2885    0.0%  khubd
  247            0         2      1    0.0%  pdflush
  248          326     20427     15    0.0%  pdflush
  249            0         1      4    0.0%  kswapd0
  250            0         2      1    0.0%  aio/0
  251            0         1      1    0.0%  SerrLogKthread
  809            0         2      1    0.0%  kide/0
  812            0         2      1    0.0%  ata/0
  817            0         1      3    0.0%  mtdblockd
  845            0         1      6    0.0%  scsi_eh_0
  846          132     36789      3    0.0%  usb-storage
 1362            0         1      8    0.0%  kjournald
 1370            0         1      5    0.0%  kjournald
 2127          367        56   6560    0.0%  jffs2_gcd_mtd2
 2184           20       743     27    0.0%  kjournald
 2644            0        21     38    0.0%  portmap
 2653            0        42     14    0.0%  nfsd
 2654            0        30      2    0.0%  nfsd
 2655            0        30      2    0.0%  nfsd
 2656            0        30      2    0.0%  nfsd
 2657            0        30      2    0.0%  nfsd
 2658            0        30      2    0.0%  nfsd
 2659            0        32      4    0.0%  nfsd
 2660            0        32      3    0.0%  nfsd
 2661            0         2     33    0.0%  lockd
 2662            0         1      6    0.0%  rpciod
 2667            0         1     71    0.0%  rpc.mountd
 2673            2         5    571    0.0%  rpc.statd
 2700          152    251559      0    0.0%  sysmgr
 3344            0         1     22    0.0%  mping-thread
 3511         1825     10196    179    0.0%  insmod
 3892           12         3   4105    0.0%  xinetd
 3893            3         4    843    0.0%  tftpd
--More--
switch#

Related Commands

Command
Description

show processes

Displays the process information for the switch.

show processes log

Displays the contents of the process log.

show processes memory

Displays the memory allocation information for processes.