...
Code Block |
---|
usage: dumpsyslog [ -n <N>] [ -b ] [-m] [ -s <I | W | E | D> ] [ -d <date> ] [ -h <hour> ] [ -f <filename> ] [-q <C | S | D>] [ -t ] |
...
[-n <N>] | Maximum number | ||||||||
[-b] | Will select entries from the beginning of the System Log, that is, the oldest entries instead of the most recent entries. This option is preferably used in conjunction with the | ||||||||
[[ -s ]] | Displays the severity type for each entry. The possible severity types are:
| ||||||||
[-d <DATE>] | Filter on a certain date or time interval. The date must be given in the format specified in the If only one date is given, the display will hold entries for that date only (time 00:00:00 to 23:59:59), unless the MZ>> dumpsyslog -d 1982-01-01 Will give all log entries for the specified date from 00:00:00 to 23:59:59. If an interval is given, the entries must be enclosed within quotation marks "d1 d2": MZ>> dumpsyslog -d "1982-01-01 2007-12-07" Will give all log entries between the two dates, from date1 (time 00:00:00) to date2 (time 23:59:59). | ||||||||
[-h <HOUR>] | Filter on a certain hour or time interval. Time is given in the format If only one time is given, the display will hold entries for that hour only (time 00:00:00 to 00:59:59). If giving two times, all entries in the interval will be displayed.
| ||||||||
[-f <FILENAME>] | Direct output to a file (including directory path). | ||||||||
[-q <C|S|D>] | Displays general information about the System Log entries.
| ||||||||
[-t] | To include stack trace information in the System Log printout. | ||||||||
[-m] | Sometimes log messages can get truncated, so use this flag to display full log messages. |
Return Codes
Listed below are the different return codes for the dumpsyslog
command:
...