HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)
e
evweb_eventviewer(1) evweb_eventviewer(1)
• -v Event_categories
• -i Event_IDs
• -r [is|be|en|co][:]
search_string
•
-a age_number[:]{yy|mm|dd|hh}
• -t [eq|le|ge|bw]:
mm:dd:yyyy:hh:mi:ss
[,mm:dd:yyyy:hh:mi:ss]
• -s [asc|desc]:
summary_list sort_column_name
•
-o offset_number -c
count_of_events
•
-h
Following are the examples of the
-L option:
•
evweb eventviewer -L -e eq:4 -a 5:dd
• evweb eventviewer -L
• evweb eventviewer -L -s severity -o 0 -c 5
• evweb eventviewer -L -h
-n
[Event_Numbers]
Specifies one or more event numbers, separated by a comma.
If you use the
-n switch with the -E option, you can use the
-n switch only once.
If you use the
-n switch with the -D option, you can use the -n
switch multiple times. Following are
the examples of the
-n option:
• evweb eventviewer -E -n 45
-o
offset_number -c
count_of_events
Defines the size of the summary list. You can use the
-o
switch only with the evweb
eventviewer -L
command. During a search operation, if the number of events in the summary
list is large, use the -o and -c switches to specify the number of events in the summary list. Use the
-o switch to define the offset and the -c switch to specify the number of events in the summary list.
For example, assume that there are 200 events in the summary list. To view the first twenty events,
specify an offset of zero and a count equal to 20, as follows:
-o0-c20
To view the next set of twenty events specify:
-o 20 -c 20
-r [is|be|en|co][:]
search_string
Searches the Event Archive for information based on the specified search string. The search is not
case-sensitive. To use this switch, type an operator followed by a string. Use a colon to separate the
operator and the string. Enclose the entire argument (operator and string) within double quotes. You
can use the -r switch more than once within one command. The following operators can be used with
the -r switch:
is event description is exactly the same as the given string
be event description begins with the given string
en event description ends with the given string
co event description contains the given string (default)
Following are the examples of the -r option:
• -r "co:device not configured"
• -r "be:The event" -r "en:event occurred"
-s [asc|desc]:
summary_list sort_column_name
Displays the summary list of events sorted by specified order (ascending or descending) and column
name. You can use -s switch only with the evweb eventviewer -L command. By default, the
summary list is displayed in ascending order (asc). Use a colon to separate the sorting order and the
summary column. Alternatively, you can separate the sort order and summary column with a space,
but you must then enclose the entire string within double quotes. Following are the examples of the
-s option:
• -s desc:eventid
The following three commands have the same meaning:
• -s asc:eventcategory
HP-UX 11i Version 3: February 2007 − 3 − Hewlett-Packard Company 319