HP StorageWorks Command View SDM Installation and User Guide (T1086-96023, February 2005)

138 Command Line User Interface
Examples
Display the controller event log for array serial number 00786b5c0000. Limit
the entries to those that occurred on or after 0800 on May 15 of this year.
armlog -e -t 05150800 00786b5c0000
Display the log information for the disk installed in slot 3 of disk enclosure 2
on FC loop 1 on array identified by device file /dev/dsk/c2t0d0.
armlog -d JA2/D3 /dev/dsk/c2t0d0
-pg <pagetype> Display controller logs of the type specified by <pagetype>. Values
for <pagetype> can be Events, NV, or Critical. The entries included
on each page type are determined by their severity level. See the -sv
option for severity levels.
Events page includes all entries (levels 0-4); NV page includes
entries of moderate severity (levels 2 and 3); Critical page includes
entries of the highest severity (level 4).
If this option is not included, all logs on the Events page are
displayed. This option should not be used with the -sv option.
-s <StartDateTime> Display controller logs that occurred on or after <StartDateTime>. If
an end date is specified using the -e option, all logs between the
start and end dates are displayed. If neither the start nor end times
are specified, all controller events are displayed.
The format of <StartDateTime> is MMddhhmm[yyyy]:
MM Month (01-12)
dd Day (01-31)
hh Hour (00-23)
mm Minute (00-59)
yyyy Year (uses current year if not given)
-sv <severitylist> Display only controller logs of the severity level specified by
<severityList>. The <severityList> can be a comma-separated list
(0,1,2) or a range (0-2). Valid severity levels are 0 - 4, with 4 being
the most severe.
If this option is not specified, all logs regardless of severity are
displayed. This option should not be used with the -pg option.
-xml Creates output in XML format.
-? Display extended help message. Overrides all other switches.