Troubleshooting Tools
Accessing the Syslog
Tailing the Syslog
prtlndA1k> tail logs syslog follow
2004-06-18T18:26:33.038-0400:bstnA6k:1-1-SCM-0:LOG-0-6-FILTER:: sshd[5691]:
Accepted keyboard-interactive for admin from 172.16.22.183 port 58849 ssh2
2004-06-18T18:26:33.040-0400:bstnA6k:1-1-SCM-0:LOG-0-6-FILTER:: sshd[5691]:
lastlog_get_entry: Error reading from /var/log/lastlog: Bad file descriptor
2004-06-18T18:26:48.294-0400:bstnA6k:1-1-SCM-960:L2SW_DRV-0-5-MSG5:: Disable
Mirror Port:
2004-06-18T18:28:39.195-0400:bstnA6k:1-1-SCM-0:LOG-0-4-FILTER:: sntpc: resetting
on error 0.117 > 0.102
2004-06-18T18:28:39.222-0400:bstnA6k:1-1-SCM-0:LOG-0-4-FILTER:: sntpc: resetting
on error 0.117 > 0.102
2004-06-18T18:31:22.008-0400:bstnA6k:5-2-ASM_FC-602:LIBCIFS-0-7-MSG7::
connection to \\10.51.1.23\histories deleted
6-4
traplog.5
traplog.6
traplog.7
traplog.8
traplog.9
txnmond.dump.0
You can use the
command from any mode to view syslog messages as they are
tail
added to the log:
tail logs filename follow
where
logs is required to specify the "logs" directory,
filename (1-255 characters) identifies the file to tail, and
follow is required to follow the syslog as it grows.
Use
tail logs syslog follow
and return to the CLI prompt.
For example:
Nov 20 15:30
Nov 20 15:01
Nov 20 14:32
Nov 20 14:12
Nov 20 13:57
Nov 20 14:28
to view the syslog file. Use <Ctrl-C> to stop the tail output
25k
25k
25k
25k
28k
0
CLI Maintenance Guide