This command provides the percentage utilization of the CPU by different tasks.
Note
It is not necessarily the traffic to the CPU, but different tasks that keep the CPU busy.Note
This command is available in Linux 2.6 only.Format | show process cpu [1-n | all] |
Mode | Privileged EXEC |
Free | System wide free memory |
Alloc | System wide allocated memory (excluding cache, file system used space) |
Pid | Process or Thread Id |
Name | Process or Thread Name |
5Secs | CPU utilization sampling in 5Secs interval |
60Secs | CPU utilization sampling in 60Secs interval |
300Secs | CPU utilization sampling in 300Secs interval |
Total CPU Utilization | Total CPU utilization % within the specified window of 5Secs, 60Secs and 300Secs. |
The following example shows CLI display output for the command using Linux.
(Extreme 220) (Routing) #show process cpu
Memory Utilization Report
status bytes
------ ----------
free 106450944
alloc 423227392
CPU Utilization:
PID Name 5 Secs 60 Secs 300 Secs
-----------------------------------------------------------------
765 _interrupt_thread 0.00% 0.01% 0.02%
767 bcmL2X.0 0.58% 0.35% 0.28%
768 bcmCNTR.0 0.77% 0.73% 0.72%
773 bcmRX 0.00% 0.04% 0.05%
786 cpuUtilMonitorTask 0.19% 0.23% 0.23%
834 dot1s_task 0.00% 0.01% 0.01%
810 hapiRxTask 0.00% 0.01% 0.01%
805 dtlTask 0.00% 0.02% 0.02%
863 spmTask 0.00% 0.01% 0.00%
894 ip6MapLocalDataTask 0.00% 0.01% 0.01%
908 RMONTask 0.00% 0.11% 0.12%
-----------------------------------------------------------------
Total CPU Utilization 1.55% 1.58% 1.50%