errconfig(8) CLIX errconfig(8)
NAME
errconfig - Runs error log daemon manager
SYNOPSIS
errconfig [-hgrnw] [-s node] [-f file] [-m size] [-o types]
The errconfig command is an error log daemon manager which sends requests
to the error log daemon, errord. This command also displays or changes
the configuration of errord while the daemon is running.
FLAGS
-h Displays a help screen.
-g Displays the current configuration of errord. This is the
default if no flags are specified.
-m size Specifies the maximum allowable number of blocks in the error
log file. When the error log file reaches this size, it is
renamed /usr/adm/errlog"date" (where date is today's date in
the format MMDD) and a new error log file is created. The
default is 500 blocks.
-s node Sends error messages to system node. If this flag is
specified, errord posts errors to the local system and to
system node. For node to receive these errors, the errord
running on node must be configured with the -r flag.
-r Receives error messages from other systems and puts them in the
/usr/adm/errlog file. Unless this flag is specified, the local
system does not receive errors sent from remote error daemons
executed with the -s flag.
-n Does not send or receive error messages from remote systems.
This flag is the default.
-w Writes the current configuration of the errord daemon to the
/usr/adm/errord.rc file.
-f file Specifies the error log file to use. The default is
/usr/adm/errlog.
-o types Excludes the error types specified by types from the error log
file. Valid error types are device, user, panic, sysmsg,
memory, slave, disk, tape, floppy, asnc, scan, parallel,
digitizer, timeout, security, stray, optic, soft, retry, and
hard. If multiple types are specified, they must be separated
by commas and/or spaces; if spaces are used, the entire types
string must be enclosed in quotation marks.
2/94 - Intergraph Corporation 1
errconfig(8) CLIX errconfig(8)
DESCRIPTION
The error log daemon manager, errconfig, sends requests to the error log
daemon, errord, to display or change the configuration of errord while the
daemon is running.
EXAMPLES
1. The following command displays the current configuration of the errord
daemon:
errconfig
2. The following command causes errord to send error messages to node
bike but not to log or send disk and memory errors. The changes to
the configuration are saved in /usr/adm/errord.rc after they are made.
errconfig -s bike -o disk,memory -w
FILES
/usr/adm/errord.rc Error daemon configuration file.
/usr/adm/errlog Error log file.
/usr/adm/errlog"date" Old system error log file.
NOTES
The errconfig command either examines (-g) or changes (for all other
flags) the configuration of the errord daemon. Do not specify the -g flag
on the command line with the change flags.
CAUTIONS
Occasionally on a busy system, errord takes a while to respond to
errconfig. If this happens, errconfig asks if it is to remain waiting for
errord to respond.
DIAGNOSTICS
If errconfig displays the message ``unable to open /dev/errlog'' or
``unable to write to /dev/errlog,'' the user may not be logged in as root.
EXIT VALUES
The errorconfig command exits with a value of 2 if the user decides not to
wait for errord to respond. (See CAUTIONS.)
2 Intergraph Corporation - 2/94
errconfig(8) CLIX errconfig(8)
RELATED INFORMATION
Commands: errord(8)
Files: errord.rc(4)
2/94 - Intergraph Corporation 3