Home > |
---|
Display the last entries of the syslog. If no number is included, the command displays the entire syslog.
syslog tail -logname <logname> [-entries <logentries>] [-search <string>]
Parameter | Shortcut | Description |
---|---|---|
-entries | -e <logname> |
Specifies the number of entries to display. If this parameter is not specified, the entire log is displayed. Range: 0-2147483647 |
-logname | -l <logentries> |
Specifies the log name. Valid values: lunalogs, messages, secure, hsm, ntp, snmp |
-search | -s <string> | Search for the specified string. |
lunash:>syslog tail -logname hsm -entries 3
2011 Apr 3 14:49:02 myLuna local6 info oamp[2244]: INFO: SM_Init OK
2011 Apr 3 14:49:02 myLuna local6 info oamp[2244]: INFO: Supported callback I/O v.1
2011 Apr 3 14:49:02 myLuna local6 info oamp[2244]: INFO: Supported callback protocol v.1
Command Result : 0 (Success)