HP StorageWorks XPath OS 7.4.X Command Reference Guide (AA-RVHCC-TE, September 2005)
80 XPath OS CLI commands
Displays events in the event log between specific starting and ending event numbers.
Synopsis
eventshowbynum startingEventNumber endingEventNumber
[-a] [-n numOfEvents]
Availability
all users
Description
Use this command to display events in the event log between specific starting and ending event numbers.
This command displays all events if the starting event number is 1 and the ending event number is –1. The
timestamp field of each event includes date, time, and GMT offset.
Operands
The following operands are required:
The following operands are optional:
Examples
To display events between event number 10 and 100:
To display all events above event number 200:
To display all events above event number 200, without pagination:
To display the most recent 30 events, without pagination:
See also
eventShow
eventShowByNum
startingEventNumber Specifies the starting event number.
endingEventNumber Specifies the ending event number.
-a Displays events without page breaks.
-n numOfEvents Specifies the number of events to display.
switch:admin> eventshowbynum 10 100
switch:admin> eventshowbynum 200 -1
switch:admin> eventshowbynum 200 -1 -a
switch:admin> eventshowbynum 1 -1 -a -n 30