1-63
Cisco IOS XR Troubleshooting Guide for the Cisco CRS-1 Router
OL-21483-02
Chapter 1 General Troubleshooting
Error File Locations and Data Collection Scripts
Significant sysmgr events are stored in /tmp/sysmgr.log. The log wraps so it is recommended that you
save a snapshot to disk at the start of the session. The debug script contains commands that provide a
snapshot of the box and also provides details on the specific process having problems.
The following example shows the output of the sysmgr collection script.
RP/0/RP0/CPU0:router# run more /tmp/sysmgr.log
Wed May 2 14:03:42.658 EST EDT
01/01 00:00:02.599 1 *** sysmgr_lite spawned***
01/01 00:00:02.600 1 sysmgr_lite: [/dev/sysmgr_shmem] doesn't exist, error=[No such file
or directory]
01/01 00:00:02.600 1 sysmgr_lite: Cold-Reload
01/01 00:00:02.650 1 Hello from init !!
01/01 00:00:02.650 1 Wait for file access through pkgfs
01/01 00:00:03.672 1 Boot Device = disk0:
01/01 00:00:03.672 1 Create event manager
01/01 00:00:03.734 1 Attach to msg channel
01/01 00:00:03.735 1 Create msg handling thread
01/01 00:00:03.735 2 sysmgr_lite_process_msg: In sysmgr_process_msg thread
01/01 00:00:03.735 2 Attaching respawn handler
01/01 00:00:03.736 1 read_init_startup_list: opening directory /pkg/ init.d for .init
files
01/01 00:00:03.736 2 Attaching async handler
01/01 00:00:03.737 2 Attaching sync handler
01/01 00:00:03.737 2 starting ih_timer
01/01 00:00:03.737 2 lite_set_timer: id=1, 1800 seconds
01/01 00:00:03.737 2 Servicing msgs
01/01 00:00:03.738 1 read_init_startup_list: Opening /pkg/init.d/ attach_server.init
01/01 00:00:03.739 1 read_init_startup_list: finished /pkg/init.d/ attach_server.init
pcb->name=attach_server
01/01 00:00:03.739 1 read_init_startup_list: Opening /pkg/init.d/ attachd.init
01/01 00:00:03.739 1 read_init_startup_list: finished /pkg/init.d/ attachd.init
pcb->name=attachd
01/01 00:00:03.739 1 read_init_startup_list: Opening /pkg/init.d/ bcm.init
01/01 00:00:03.739 1 read_init_startup_list: finished /pkg/init.d/ bcm.init
pcb->name=bcm_process
01/01 00:00:03.740 1 read_init_startup_list: Opening /pkg/init.d/ bcm_logger.init
01/01 00:00:03.740 1 read_init_startup_list: finished /pkg/init.d/ bcm_logger.init
pcb->name=bcm_logger
Wdsysmon Collection Scripts
Wdsysmon is the WatchDog and SYStem MONitor. Wdsysmon monitors memory and CPU resources,
watches for IP communications and mutual exclusion object (mutex) deadlocks, issues notifications or
alarms when resource thresholds are exceeded, and logs historical process data.
The wdsysmon collection scripts contain wdsysmon debug data. The wdsysmon monitors CPU
utilization, diskspace, and memory, and generates an alarm when a threshold is crossed. The output
contains trace information for process resource utilization.
RP/0/RP0/CPU0:router# dir disk1:/wdsysmon_debug
Directory of disk1:/wdsysmon_debug
196736 -rwx 37151 Wed Dec 21 17:47:40 2005 debug_evm.364641
196832 -rwx 39422 Wed Dec 21 21:42:10 2005 debug_evm.364640
196928 -rwx 39577 Wed Dec 21 21:57:14 2005 debug_evm.307296