Showing The End Of The Syslog - Acopia Adaptive Resource Switch Cli Maintenance Manual

Table of Contents

Advertisement

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> 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>
CLI Maintenance Guide

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
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:
keyword:
follow
Troubleshooting Tools
Accessing the Syslog
6-5

Advertisement

Table of Contents
loading

Related Products for Acopia Adaptive Resource Switch

Table of Contents