 |
Index for Section 8 |
|
 |
Alphabetical listing for E |
|
 |
Bottom of page |
|
elfread(8)
NAME
elfread - Used to display and clear events in the the system, security, and
application event logs at the Tru64 UNIX system console
SYNOPSIS
/usr/sbin/elfread [-od | -cy] [-e eventID] [-f filename] [-p number] [-t
type] [-u user_name] [-w workstation_name] logname
OPTIONS
-o Displays the contents of the log file, listing the oldest event first.
-d Displays detailed information for each event in the log file. If
neither the -o nor -d option is specified, a summary of all events in
the log is displayed.
-c Clears the entire contents of the log file.
-y Used with the -c option to clear the log file without prompting for
confirmation.
-e eventID
Displays events with the specified event ID in the log file.
-f filename
Displays the file specified rather than the default file.
-p number
Displays events for the specified number of past days, hours, or
minutes in the log file. The default is days. When specifying hours,
enter an h after the number. When specifying minutes, enter an m after
the number.
-t type
Displays events of the specified types(s) in the log file. Enter e for
error messages, w for warning messages, and i for informational
messages. You can specify more than one type.
-u user_name
Specifies selection of events logged by a particular user.
-w workstation_name
Specifies selection of events logged by a particular workstation.
OPERANDS
logname Enter the type of log file that you want to display. Acceptable
entries are system, security, and application.
DESCRIPTION
The elfread command displays and clears events in log files at the Tru64
UNIX system console. To save a log file you can copy, move, or rename the
default log file to a file that you specify. To display the saved file you
must use the -f option and specify the name of the file and the logname for
the type of log that it contains (system, security, or application). Log
files are useful if the server fails to start. Note that the -d (display)
and -c (clear) options are mutually exclusive.
You must be logged in as root to use the elfread command.
EXAMPLES
1. To display a summary of events in the system log in reverse
chronological order, enter:
# elfread -o system
2. To display events in a file named Monday that you copied the system
log in to, enter:
# elfread -f Monday system
3. To display error and warning events logged to the system log in the
past day, enter:
# elfread -p 1 -t ew system
4. To display error and warning events logged to the system log in the
past hour, enter:
# elfread -p 1h -t ew system
5. To display events with an event ID of 6005 in the system log, enter:
# elfread -e 6005 -d system
 |
Index for Section 8 |
|
 |
Alphabetical listing for E |
|
 |
Top of page |
|