EXPLAIN_SYSLOG(8) | Diagnostic Tools | EXPLAIN_SYSLOG(8) |
explain_syslog - explain syslog messages
explain_syslog [ -b begin_time ] [ -e
end_time ]
[ -m message_file | -M ] [ -C catalog_dir ]
[ -h ] [ -d ]
The explain_syslog command reads the specified message file (defaults to stdin), which should be in the format produced by the syslogd daemon. For each line that matches a message documented in the message catalog, explain_syslog prints an explanation, including probable cause and recommended action.
The following timestamp formats are recognized by
explain_syslog:
month day [ year ] [hh:mm[:ss]]
— e.g., Feb 12 2010 14:30
month day hh:mm[:ss] [ year ]
day month [ year ] [hh:mm[:ss]]
— e.g., 12 Feb 14:30
day month hh:mm[:ss] [ year ]
year-month-day [hh:mm[:ss]] —
e.g., 2010-2-12 14:30:00
If no year is specified, explain_syslog assumes that the timestamp is from the prior 12 months. If no hh:mm is specified, explain_syslog assumes 00:00:00.
Written by Jim Keniston (jkenisto@us.ibm.com). Conversion of format strings to regular expressions (for matching syslog messages to catalog entries) written by Jesse Larrew (jlarrew@us.ibm.com).
/etc/ppc64-diag/message_catalog/* — message catalog
March 2010 | Linux |