errdead Command

Purpose

Extracts error records from a system dump or live dump.

Syntax

/usr/lib/errdead-i FileName ] DumpFile [UnixFile]

Description

The errdead command extracts error records from a system dump or live dump containing the internal buffer maintained by the /dev/error file. The errdead command extracts the error records from the dump file and adds those error records directly to the error log.

The error log daemon need not be running when the errdead command is run.

Flag

Item Description
-i FileName Adds the extracted error records to the error log file specified by the FileName variable. If the file does not exist, the errdead command creates it. If this flag is not specified, the value from the error log configuration database is used.

Parameters

Item Description
DumpFile Specifies the dump image to operate on.
UnixFile Specifies the UNIX file that is in use when the system dump or live dump is taken. This is not necessary if using errdead command on the same system that the dump originated from.

Security

Access Control: Only the root user can run this command.

Example

To capture error log information from a dump image that resides in the /var/adm/ras/vmcore.0 file, enter:

/usr/lib/errdead /var/adm/ras/vmcore.0

Error logging information is in the dump image if the errdemon daemon was not running when the dump occurred.

File

Item Description
/etc/objrepos/SWservAt Contains the software service aids attributes object class; that is, the error log configuration database.