Troubleshooting Tools
Accessing the Syslog
CLI Maintenance Guide
6-5
2004-06-18T18:37:13.257-0400:bstnA6k:1-1-SCM-0:LOG-0-6-FILTER:: sshd[9204]:
WARNING: /usr/local/etc/moduli does not exist, using old modulus
2004-06-18T18:37:13.371-0400:bstnA6k:1-1-SCM-0:LOG-0-6-FILTER:: sshd[9204]:
Could not reverse map address 172.16.22.183.
2004-06-18T18:37:14.028-0400:bstnA6k:1-1-SCM-0:LOG-0-6-FILTER:: sshd[9204]:
Accepted keyboard-interactive for admin from 172.16.22.183 port 60054 ssh2
2004-06-18T18:37:14.032-0400:bstnA6k:1-1-SCM-0:LOG-0-6-FILTER:: sshd[9204]:
lastlog_get_entry: Error reading from /var/log/lastlog: Bad file descriptor
...
Showing the End of the Syslog
You can show the last few lines in the syslog file, without following any new syslog
entries, by omitting the
follow
keyword:
tail logs
filename
[
number-lines
]
where
filename
(1-255 characters) identifies the syslog file to tail, and
number-lines
(optional, 1-4096) is the number of lines to show. By default,
the command shows the last 24 lines in the file.
For example, the following command shows the last five lines in the current syslog
file:
bstnA6k>
tail logs syslog 5
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
2004-06-18T18:37:13.257-0400:bstnA6k:1-1-SCM-0:LOG-0-6-FILTER:: sshd[9204]:
WARNING: /usr/local/etc/moduli does not exist, using old modulus
2004-06-18T18:37:13.371-0400:bstnA6k:1-1-SCM-0:LOG-0-6-FILTER:: sshd[9204]:
Could not reverse map address 172.16.22.183.
2004-06-18T18:37:14.028-0400:bstnA6k:1-1-SCM-0:LOG-0-6-FILTER:: sshd[9204]:
Accepted keyboard-interactive for admin from 172.16.22.183 port 60054 ssh2
2004-06-18T18:37:14.032-0400:bstnA6k:1-1-SCM-0:LOG-0-6-FILTER:: sshd[9204]:
lastlog_get_entry: Error reading from /var/log/lastlog: Bad file descriptor
bstnA6k>
Summary of Contents for Adaptive Resource Switch
Page 12: ...2 xii CLI Maintenance Guide...
Page 62: ...Backing Up the Running Configuration Restoring the Configuration 3 24 CLI Maintenance Guide...
Page 128: ...Metadata Utilities nsck and sync Clearing All nsck Jobs 5 48 CLI Maintenance Guide...
Page 206: ...Troubleshooting Network Connections Configuring Port Mirroring 7 32 CLI Maintenance Guide...
Page 306: ...GUI Maintenance Restarting the GUI 10 4 CLI Maintenance Guide...
Page 316: ...Powering Down the ARX Restoring Power 11 10 CLI Maintenance Guide...
Page 318: ...Copyright 2 CLI Maintenance Guide...
Page 324: ...Index 6 CLI Maintenance Guide...