Wanna get some undocumented Catalyst commands ?
Here it goes:
PS -C
(To check the CPU usage)
Samples:
on a Supervisor 3:
CCAT5-D40A (enable) ps -c
CPU usage information:
Name CPU-Usage Invokations
--------------- --------- -----------
idle 96% 1
Flash MIB Updat 0% 1
SynDiags 0% 1
SynConfig 0% 1
Statuspoll 0% 1
THREAD 0% 1
SecurityRx 0% 1
SWPoll64bCnt 0% 1
Earl 0% 1
ProtocolFilter 0% 1
Console 0% 1
telnetd 0% 1
llcSSTPFlood 0% 1
telnet13 0% 1
sntp_recd 0% 1
cdpd 0% 1
cdpdtimer 0% 1
SptTimer 0% 1
SptBpduRx 2% 1
SptBpduTx 0% 1
VtpTimer 0% 1
VtpRx 0% 1
RMON AlarmTimer 0% 1
ProtocolTimer 0% 1
DTP_Rx 0% 1
PAgP_Rx 0% 1
PAgP_Group_Rx 0% 1
sptHelper 0% 1
sptTraps 0% 1
fsd_timer 0% 1
sntp_xmitd 0% 1
SysLogTask 0% 1
Netflow 0% 1
L3Aging 0% 1
pinggateA 0% 1
ATM/RSM Support 0% 1
telnet36 0% 1
telnet37 0% 1
telnet38 0% 1
snmpdm 0% 1
System Idle - Current: 100% High: 100% Low: 100%
Average: 100%
on a Supervisor I and II:
CCAT5-U9 (enable) ps -c
CPU usage information:
Name CPU-Usage Invokations
--------------- --------- -----------
Kernel 73% 1
SynDiags 0% 1
SynConfig 0% 1
Statuspoll 0% 1
THREAD 0% 1
SecurityRx 0% 1
Earl 20% 1
Console 0% 1
telnetd 0% 1
cdpd 0% 1
cdpdtimer 0% 1
SptTimer 0% 1
SptBpduRx 1% 1
VtpTimer 0% 1
VtpRx 0% 1
DISL_Rx 0% 1
DISL_Timer 0% 1
DISL_Switch 0% 1
ProtocolTimer 0% 1
sptHelper 0% 1
sptTraps 0% 1
fsd_timer 0% 1
telnet22 8% 1
SysLogTask 0% 1
FDDISupport 0% 1
snmpdm 0% 1
System Idle - Current: 36% High: 36% Low: 14% Average: 27%
CCAT5-U9 (enable)