Installation guide

_______________________ Note _______________________
Sequence numbers restart when you reboot the system. If the
event-log file contains events from before and after a reboot, the
file may contain duplicate sequence numbers.
If the s option is the only uerf command option specified, all events with
the specified sequence numbers are reported.
D.2.2 Specifying a Time Range
Use the uerf command with the t option to select events in the specified
time range. The uerf t command has the following syntax:
uerf -t time
The
time
variable specifies the start and end of the time range. If you do
not use the t
time
option, the entire event-log file is used to report
events. The
time
variable has the following syntax:
s: dd-mmm-yyyy, hh:mm:ss
e: dd-mmm-yyyy, hh:mm:ss
The
dd-mmm-yyyy
variable specifies the day, month, and year. The
hh:mm:ss
variable specifies the hours, minutes, and seconds. You specify
the start time after the s: symbol, and you specify the end time after the
e: symbol.
The uerf s command uses the following defaults for the date and time:
The current date
The start time is 00:00:00
The end time is 23:59:59
The following example produces a report that contains all events for the
24-hour period of January 11, 1994:
# uerf t s:11-jan-1994,00:00:00 e:11-jan-1994,23:59:59
The following command produces a report from the beginning of the
event-log file until February 29 of the current year:
# /usr/sbin/uerf t e:29-feb
The following command produces a report for all events on the current day
and year, starting at 1:20 p.m. and ending at the current time:
# /usr/sbin/uerf t s:13:20
Using the uerf Event Logger D–9