Chapter 59
Monitoring System Processes and Logs
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
Displaying OBFL Logs
To display OBFL information stored in CompactFlash on a module, use the following commands:
Command
show logging onboard boot-uptime
show logging onboard cpu-hog
show logging onboard device-version
show logging onboard endtime
show logging onboard environmental-history
show logging onboard error-stats
show logging onboard exception-log
show logging onboard interrupt-stats
show logging onboard mem-leak
show logging onboard miscellaneous-error
show logging onboard module slot
show logging onboard obfl-history
show logging onboard register-log
show logging onboard stack-trace
show logging onboard starttime
show logging onboard system-health
Clearing the Module Counters
To reset the module couters, follow these steps:
Command
Step 1
switch# attach module 1
ModuleX#
Step 2
ModuleX# clear asic-cnt all
ModuleX# clear asic-cnt list-all-devices
ModuleX# clear asic-cnt device-id device-id
To reset the counters for all the modules, follow these steps:
Command
Step 1
switch# debug system internal clear-counters all
switch#
OL-18084-01, Cisco MDS NX-OS Release 4.x
Clearing the Module Counters
Purpose
Displays the boot and uptime information.
Displays information for CPU hog events.
Displays device version information.
Displays OBFL logs to an end time.
Displays environmental history.
Displays error statistics.
Displays exception log information.
Displays interrupt statistics.
Displays memory leak information.
Displays miscellaneous error information.
Displays OBFL information for a specific
module.
Displays history information.
Displays register log information.
Displays kernel stack trace information.
Displays OBFL logs from a specified start time.
Displays system health information.
Purpose
Attaches module 1 to the chasis.
Clears the counters for all the devices in
the module.
Clears the counters for only the specified
device ID. The device ID can vary from 1
through 255.
Purpose
Clears the counters for all the modules in
the switch.
Cisco MDS 9000 Family CLI Configuration Guide
59-23