ERRPT(1M) — UNIX 3.0
NAME
errpt − process a report of logged errors
SYNOPSIS
errpt [−a] [−dev]... [−int] [ −mem ] [−s date] [−e date] [−pn] [ −f ] [files]
DESCRIPTION
Errpt processes data collected by the error logging mechanism (errdemon(1M)) and generates a report of that data. The default report is a summary of all errors posted in the files named. Options apply to all files and are described below. If no files are specified, errpt attempts to use /usr/adm/errfile as file.
A summary report notes the options that may limit its completeness, records the time stamped on the earliest and latest errors encountered, and gives the total number of errors of one or more types. Each device summary contains the total number of unrecovered errors, recovered errors, errors unabled to be logged, I/O operations on the device, and miscellaneous activities that occurred on the device. The number of times that errpt has difficulty reading input data is included as read errors.
Any detailed report contains, in addition to specific error information, all instances of the error logging process being started and stopped, and any time changes (via date(1)) that took place during the interval being processed. A summary of each error type included in the report is appended to a detailed report.
A report may be limited to certain records in the following ways:
−s date Ignore all records posted earlier than date, where date has the form mmddhhmmyy, consistent in meaning with the date(1) command.
−e date Ignore all records posted later than date, whose form is as described above.
−a Produce a detailed report that includes all error types.
−dev A detailed report is limited to dev, a block device identifier. Errpt is familiar with the common form of identifiers (e.g., rs03, RS04, hs; see Section 4 of this volume). Currently, the block devices for which errors are logged are RP03, RP04, RP05, RP06, RS03, RS04, TU10, TU16, RK05, and RF11.
−int Include in a detailed report errors of the stray-interrupt type.
−mem Include in a detailed report errors of the memory-parity type.
−p n Limit the size of a detailed report to n pages.
−f In a detailed report, limit the reporting of block device errors to unrecovered errors.
FILES
/usr/adm/errfiledefault error file
SEE ALSO
May 16, 1980