errord(8) errord(8)
NAME
errord - log system state and errors
SYNOPSIS
/sbin/errord
DESCRIPTION
errord performs the following functions:
1. reads system log entries from /dev/error
2. formats, compresses, and saves the entries in
/var/adm/error/errfile.current.Z
Since errord compresses its output file, it cannot append to an exist-
ing error file. If errord is started and
/var/adm/error/errfile.current.Z already exists, it will be moved to
/var/adm/error/errfile.previous.Z.
errord is normally invoked at boot time by the /etc/init.d/errord sys-
tem startup script. This script saves old error files with names of
the form /var/adm/error/errfile.MM-DD-hh:mm.Z where MM, DD, hh, and mm
is the month, day, hour, and minute.
Error log entries are written to the log file in a fixed format
designed to be both readable in itself and easily parsed for further
processing. A formatted entry consists of two sections. The header
contains pairs (identifiers, value), and the data section contains a
simple hexadecimal dump of operating system structures that fully
describe the error condition.
The header identifiers are:
len The number of bytes of data in the DATA section of the log
entry.
time The time at which the entry was logged.
type A high level classification of the error.
ETNONE
ETGOTS system startup message
ETSTOP system stop message
ETSOFT a software condition caused this entry
ETHARD a hardware condition caused this entry
Page 1 Reliant UNIX 5.44 Printed 11/98
errord(8) errord(8)
ETMEDIA a disk or tape media fault caused this log entry.
This type of entry contains a fixed format DATA
section so that generic fault analysis software
may examine the error histories.
severity An indication of just how bad things are.
ESNONE
ESNOTE informational
ESWARN warning, better pay attention
ESERROR recoverable error
ESPANIC the subsystem described has to become unavailable
ESCONT continuation of a previous message
ESCOR correctable media fault
ESUNCOR uncorrectable media fault
entity A general description of what produced the log entry.
EENONE
EEDISK disk controller/media
EETAPE tape controller/media
EECTLR other controller/adaptor
name A specific device or subsystem name.
prog The name of and arguments to the log entry formatters that
analyze and format the log entry.
desc A text string describing the log entry.
FILES
/dev/error
pseudo-device giving access to kernel error log
/var/adm/error/errfile.current.Z
error log file
/var/adm/error/errfile.previous.Z
previous error log file
/etc/init.d/errord
system startup script
Page 2 Reliant UNIX 5.44 Printed 11/98
errord(8) errord(8)
/var/adm/error/bin
directory containing log entry formatters
SEE ALSO
compress(1), zcat(1), error(7), pyriosall(8).
Page 3 Reliant UNIX 5.44 Printed 11/98