The task usage reporting feature provides the ability to collect and display CPU usage data (with a refresh rate of 5 seconds) of running tasks on the switch. It includes the following commands:
Usage: [no] process-tracking [slot[SLOT-LIST] [<time>]] [<time>]
Description: Enable/disable module process-tracking functionality.
Usage: show cpu [<CHASSIS_MIN_CPU_UTIL_INDEX-CHASSIS_MAX_CPU_UTIL_INDEX>]
[slot <SLOT-LIST> [<CHASSIS_MIN_CPU_UTIL_INDEX-CHASSIS_MODULE_MAX_CPU_UTIL_INDEX>] ]
[process [[slot <SLOT-LIST>] [refresh <iterations>]]
Description: Show average CPU utilization over the last 1, 5, and 60 seconds, or the number of seconds specified.
Use the 'slot' argument to display CPU utilization for the specified modules, rather than the chassis CPU.
Use the 'process' argument to display module process usages.
| Recent | % | Time Since| Times | Max Process Name | Priority | Time | CPU | Last Ran | Ran | Time --------------------+----------+--------+-----+-----------+----------+------- Idle-1 | 226 | 10 s | 41 | 57 us | 380986 | 69 us Idle-3 | 1 | 5 s | 20 | 52 us | 761665 | 55 us Idle-0 | 226 | 8 s | 33 | 19 us | 380867 | 66 us Sessions & I/O-24 | 171 | 926 ms | 3 | 1 ms | 150 | 335 ms
HP-5406zl# show cpu process slot A
| Recent | % | Time Since| Times | Max Process Name | Priority | Time | CPU | Last Ran | Ran | Time --------------------+----------+--------+-----+-----------+----------+------- System Services-2 | 156 | 253 ms | 2 | 767 ms | 12 | 35 ms Idle-3 | 1 | 3 s | 28 | 13 ms | 101309 | 150 us Hardware Mgmt-2 | 192 | 282 ms | 2 | 303 us | 44 | 12 ms Idle-1 | 226 | 6 s | 55 | 13 ms | 50793 | 233 us Idle-0 | 226 | 1 s | 9 | 14 ms | 50633 | 106 us