HP XPWatch and HP XPSketch Reference Guide
This parameter is used to specify the number of hours for
which HP XPWatch must be active.
—hrs
This parameter is used to specify the number of minutes
for which HP XPWatch must be active.
—min
NOTE: It is mandatory to specify either the —hrs or —min option. You can also specify both the
options.
./xpwatch –c –s <array -serial number> –l <all|ldev-list> –p <all|port-list> –r <all|rg-list> [–f
<filename>] [–a <frequency for archiving data>] -hrs <number of hours for execution> —min
<number of minutes for execution>
To view the HP XPWatch in CLI mode.—c
To specify the XP or XP7 disk array serial number.—s
To view the list of LDEVs that must be given in a comma
separated format. If 'all' is specified in the parameter, it
will consider all the LDEVs for that particular disk array.
NOTE: There should be no space in between the comma
separating the LDEVs.
For example, –l 02:00,02:01
—l
To view the list of ports that must be given in a comma
separated format. If “all” is specified in the parameter, it
will consider all the ports for that particular disk array.
NOTE: There should be no space in between the comma
separating the ports.
For example, –p 1a,2a
—p
To view the list of RAID groups that must be given in a
comma separated format. If “all” is specified in the
—r
parameter, it will consider all the RAID groups for that
particular disk array.
NOTE: There should be no space in between the comma
separating the RAID groups.
For example, –r 01–10,10–01
This is an optional parameter. It is used to specify the .csv
filename. If this option is not specified, the archive file
(.csv file) will not be created.
—f
This is an optional parameter. It is used to specify the
frequency of archiving data in the .csv file. If this option
—a
is not specified then the previously specified value shall be
used. For more information, see Table 11 (page 36).
This parameter is used to specify the number of hours for
which HP XPWatch must be active.
—hrs
This parameter is used to specify the number of minutes
for which HP XPWatch must be active.
—min
NOTE: It is mandatory to use the options —l, —p, and —r together.
It is mandatory to specify either the —hrs or —min option. You can also specify both the options.
18 Working with HP XPWatch menus and commands