DETAILED STEPS
PurposeCommand or Action
Displays the syslog file so you can see
which process restarted and why it
restarted.
switch# show log | include error
Example:
switch# show log logfile | include error
Sep 10 23:31:31 dot-6 % LOG_SYSMGR-3-SERVICE_TERMINATED: Service
Step 1
"sensor" (PID 704) has finished with error
code SYSMGR_EXITCODE_SY.
switch# show logging logfile | include fail
Jan 27 04:08:42 88 %LOG_DAEMON-3-SYSTEM_MSG: bind() fd 4, family 2,
port 123, ad
dr 0.0.0.0, in_classd=0 flags=1 fails: Address already in use
Jan 27 04:08:42 88 %LOG_DAEMON-3-SYSTEM_MSG: bind() fd 4, family 2,
port 123, ad
dr 127.0.0.1, in_classd=0 flags=0 fails: Address already in use
Jan 27 04:08:42 88 %LOG_DAEMON-3-SYSTEM_MSG: bind() fd 4, family 2,
port 123, ad
dr 127.1.1.1, in_classd=0 flags=1 fails: Address already in use
Jan 27 04:08:42 88 %LOG_DAEMON-3-SYSTEM_MSG: bind() fd 4, family 2,
port 123, ad
dr 172.22.93.88, in_classd=0 flags=1 fails: Address already in use
Jan 27 23:18:59 88 % LOG_PORT-5-IF_DOWN: Interface fc1/13 is down
(Link failure
or not-connected)
Jan 27 23:18:59 88 % LOG_PORT-5-IF_DOWN: Interface fc1/14 is down
(Link failure
or not-connected)
Jan 28 00:55:12 88 % LOG_PORT-5-IF_DOWN: Interface fc1/1 is down (Link
failure
or not-connected)
Jan 28 00:58:06 88 % LOG_ZONE-2-ZS_MERGE_FAILED: Zone merge failure,
Isolating
port fc1/1 (VSAN 100)
Jan 28 00:58:44 88 % LOG_ZONE-2-ZS_MERGE_FAILED: Zone merge failure,
Isolating
port fc1/1 (VSAN 100)
Jan 28 03:26:38 88 % LOG_ZONE-2-ZS_MERGE_FAILED: Zone merge failure,
Isolating
port fc1/1 (VSAN 100)
Jan 29 19:01:34 88 % LOG_PORT-5-IF_DOWN: Interface fc1/1 is down (Link
failure
or not-connected)
switch#
Displays the processes that are running
and the status of each process.
switch# show processes
Example:
switch# show processes
PID State PC Start_cnt TTY Process
Step 2
The following codes are used in the
system output for the state (process
state):
----- ----- -------- ----------- ---- -------------
1 S 2ab8e33e 1 - init
•
D = uninterruptible sleep (usually
I/O)
2 S 0 1 - keventd
3 S 0 1 - ksoftirqd_CPU0
4 S 0 1 - kswapd
5 S 0 1 - bdflush
•
R = runnable (on run queue)
6 S 0 1 - kupdated
71 S 0 1 - kjournald
•
S = sleeping
136 S 0 1 - kjournald
140 S 0 1 - kjournald
•
T = traced or stopped
431 S 2abe333e 1 - httpd
443 S 2abfd33e 1 - xinetd
446 S 2ac1e33e 1 - sysmgr
•
Z = defunct (zombie) process
452 S 2abe91a2 1 - httpd
453 S 2abe91a2 1 - httpd
Cisco Nexus 9000 Series NX-OS Troubleshooting Guide, Release 7.x
20
Troubleshooting Installations, Upgrades, and Reboots
Recovering System Restarts