Logging Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
10.37
show log permanent
Displays the contents of the permanent log. If the optional "tail" parameter is specified only the
latest 10 messages in the permanent log are displayed. A numerical value can be specified after
the "tail" parameter to select how many of the latest messages should be displayed.
Syntax
show log permanent [tail[<10-250>]]
Mode
Privileged Exec and Configure mode.
Figure 10-1: Example output from the
show log permanent
command
Examples
To display the contents of the permanent log use the command:
Parameter
Description
show
Show running system information
log
Display logging information
permanent
Display to contents of the permanent log
tail
Display only the latest log entries
<10-250>
Specify the number of log entries to display
<date> <time> <facility>.<severity> <program[<pid>]>: <message>
------------------------------------------------------------------------
2006 Nov 10 09:30:09 syslog.notice syslog-ng[67]: syslog-ng starting up;
version=\’2.0rc3\’
2006 Nov 10 09:30:09 auth.warning portmap[106]: user rpc not found, reverting to
user bin
2006 Nov 10 09:30:09 cron.notice crond[116]: crond 2.3.2 dillon, started, log level
8
2006 Nov 10 09:30:14 daemon.err snmpd[181]: /flash/.configs/snmpd.conf: line 20:
Error: bad SUBTREE object 2006 Nov 10 09:30:14 user.info HSL[192]: HSL: INFO:
Registering port port1.0.1
...
To display the 10 latest entries in the permanent log use the command:
awplus>show log permanent tail
<date> <time> <facility>.<severity> <program[<pid>]>: <message>
------------------------------------------------------------------------
2006 Nov 10 13:30:01 cron.notice crond[116]: USER manager pid 469 cmd logrotate /
etc/logrotate.conf
2006 Nov 10 13:30:01 cron.notice crond[116]: USER manager pid 471 cmd nbqueue --
wipe
2006 Nov 10 13:35:01 cron.notice crond[116]: USER manager pid 472 cmd nbqueue --
wipe
2006 Nov 10 13:40:01 cron.notice crond[116]: USER manager pid 477 cmd nbqueue --
wipe
2006 Nov 10 13:44:36 syslog.notice syslog-ng[67]: Log statistics;
processed=\’center(queued)=70\’, processed=\’2006 Nov 10 13:45:01 cron.notice
crond[116]: USER manager pid 478 cmd logrotate /etc/logrotate.conf
2006 Nov 10 13:45:01 cron.notice crond[116]: USER manager pid 480 cmd nbqueue --
wipe
2006 Nov 10 13:49:32 syslog.notice syslog-ng[67]: SIGHUP received, reloading
configuration;
2006 Nov 10 13:50:01 cron.notice crond[116]: USER manager pid 482 cmd nbqueue --
wipe
2006 Nov 10 13:55:01 cron.notice crond[116]: USER manager pid 483 cmd nbqueue --
wipe
------------------------------------------------------------------------
...
awplus#
show log permanent
Содержание AlliedWare Plus 5.2.1
Страница 8: ...65 Stacking Commands Introduction 65 2 Appendix l Command List ...
Страница 10: ......
Страница 218: ......
Страница 376: ......
Страница 726: ......
Страница 806: ......
Страница 1006: ......
Страница 1056: ......
Страница 1235: ...Stacking Reference This part includes the following chapters Chapter 64 Stacking Introduction Chapter 65 Stacking Commands ...
Страница 1236: ......