'\" .\" @(#)elfread.1m 1.2 01 Oct 1998 SMI .\" Copyright (c) 1999, Sun Microsystems, Inc. .\" All Rights Reserved .\" @(#)elfread.rof 1.3 1/31/97 .TH elfread 1m "22 Sept 1998" .if n .tr \-- .SH "NAME" elfread - used to view and clear the system, security, and application logs at the UNIX system console. .SH SYNOPSIS .ft4 .nf elfread [-od|-cy] logname .SH 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. .SH OPTIONS .SS -o Displays the log file contents listing the oldest event first. .SS -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. .SS -c Clears the entire content of the selected log. .SS -y Used with the -c option to clear the log without prompting for confirmation. .SS logname Specifies the type of log you wish to display. Acceptable entries using this command are system, security, and application. .SH EXAMPLE To view a summary of the system log in reverse chronological order, type the following command: .sp.5 elfread -o system