HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)

e
evweb_eventviewer(1) evweb_eventviewer(1)
-s eventcategory
-s "asc eventcategory"
-t [eq|le|ge|bw]:
mm:dd:yyyy:hh:mi:ss[,
mm:dd:yyyy:hh:mi:ss]
Specifies date and time. Date-time can be represented by an operator followed by the date-time
values. The following operators can be used with the
-t switch.
eq equal to
le less than equal to
ge greater than equal to
bw between
Only one operator can be used at one time.
To use the bw operator, specify the lower and upper date-time values. For all other operators, you
must specify only one date-time value. The format to specify date-time value is mm:dd:yyyy:hh:mi:ss.
The date-time value are defined as:
mm month
dd date
yyyy year
hh hour
mi minute
ss second
Use a colon (
:) to separate an operator and a date-time value. Use a comma (
,) to separate two
date-time values. Alternatively, you can specify an operator and a date-time value within double
quotes. You must specify only one
-t switch in a command.
Following are the examples of the -t
option:
-t le:10:22:2004:00:00:00
-t ge:10:22:2004:08:45:00
The following two commands have the same meaning:
-t bw:10:22:2004:00:00:00,10:29:2004:00:00:00
-t "bw 10:22:2004:00:00:00,10:29:2004:00:00:00"
Note: The -a and -t switches are mutually exclusive. An error message is displayed if both the
switches are used together in a command.
-v Event_categories
Specifies a list of event categories, separated by comma. Use this option as a part of the search cri-
teria. Use evweb list -v command to find the possible values for this option. The event
category strings are case-sensitive. Following are the examples of the
-v option:
-v Processor,Memory
EXAMPLES
evweb eventviewer -L
Displays all events.
evweb eventviewer -L -e ge:4 -a 5:dd
Displays events that were generated in the last 5 days, with severity greater than or equal to Warn-
ing.
evweb eventviewer -L -i Evt001 \
-t bw:06:01:2005:12:05:00,07:01:2005:12:30:00 -s Severity
Displays all events with eventid=’Evt001’ that occurred between 1st June 2005, 12:05 hrs and 1st July
2005, 12:30 hrs and sorts the output by order of severity.
evweb eventviewer -L -s Severity -o 100 -c 25
Sorts all events by severity; skips the first 100 events and displays the next 25 events.
evweb eventviewer -E -n 2342
Displays the details of the event with event number 2342’.
320 Hewlett-Packard Company 4 HP-UX 11i Version 3: February 2007