Maintenance Commands elfread(1m)
NAME
elfread - used to view and clear the system, security, and
application logs at the UNIX system console.
SYNOPSIS
elfread [ -I instance ] [-od|-cy] logname
DESCRIPTION
The elfread command is used to view and clear event logs at
the UNIX system console. It is especially useful if the
server fails to start. Note that the -d (display) and -c
(clear) options are mutually exclusive.
OPTIONS
-I instance
Specifies the PCNL instance name or number. In a multi-
instance environment instance may be specified either on the
command line or by the environment variable PCNL_INSTANCE.
If there is only one instance configured, it is not neces-
sary to specify this argument.
-o
Displays the log file contents listing the oldest event
first.
-d
Displays additional details about log events. If neither
the -o nor the -d option is specified, a summary of all
events in the log is displayed using this command.
-c
Clears the entire content of the selected log.
-y
Used with the -c option to clear the log without prompting
for confirmation.
logname
Specifies the type of log you wish to display. Acceptable
entries using this command are system, security, and appli-
cation.
EXAMPLE
To view a summary of the system log in reverse chronological
order, type the following command:
elfread -o system