The set subcommand, Syntax, Description – HP StorageWorks XP Remote Web Console Software User Manual
Page 74: Operands, Example, The set subcommand” on

74
Performance Control Export Tool
The set subcommand
Syntax
set
Δ[switch={m|off}]
Description
The set subcommand starts or ends monitoring the disk array (that is, starts or ends collecting
performance statistics). The set subcommand also specifies the gathering interval (interval of collecting
statistics) in short range monitoring.
If you want to use the set subcommand, you must use the login subcommand (see ”
” on page 56) to log onto the SVP. Ensure that the set subcommand executes immediately
before the Export Tool finishes.
Executing the set subcommand generates an error in the following conditions:
•
Some other user is being logged onto the SVP in Modify mode
•
Maintenance operations are being performed at the SVP
If an error occurs, do the following:
•
Ensure that all the users who are logged onto the SVP are not in Modify mode. If any user is logged on
in Modify mode, ask the user to switch to View mode.
•
Wait until maintenance operations finish at the SVP, so that the set subcommand can execute.
NOTE:
•
Your batch files can include script that should execute when an error occurs. For information about
writing such a script in your batch file, refer to ”
•
When the set subcommand starts or ends the monitoring or changes the gathering interval after the
Auto LUN XP pane is started, the contents displayed in the Auto LUN XP pane does not change
automatically in conjunction with the set subcommand operation. To display the current monitoring
status in the Auto LUN XP pane, click the Refresh button.
Operands
switch
={m|off}
To start monitoring, specify the gathering interval (interval of collecting statistics) of monitoring data at
m
. Specify a value between 1 and 15 minutes. m is the gathering interval in short range monitoring by
Auto LUN XP. Note that the gathering interval in long range is fixed to 15 minutes.
To end monitoring, specify off.
If this operand is omitted, the set subcommand does not make settings for starting or ending
monitoring.
Example
The following command file saves port statistics and then ends monitoring ports:
svpip 158.214.135.57
login expusr passwd
show
group Port
shortrange 200404010850:200404010910
apply
set switch=off