Figure 18 sample command file, 18 sample command file – HP StorageWorks XP Remote Web Console Software User Manual
Page 47
![background image](/manuals/398203/47/background.png)
Performance Control XP user guide
47
Here is a sample command file:
Figure 18
Sample command file
NOTE:
In this file, a semicolon (;) indicates the beginning of a comment. Characters from a semicolon to
the end of the line are regarded as a comment.
The subcommands in this command file are explained as follows:
•
svpip 158.214.135.57
This subcommand specifies that you are logging into the SVP whose IP address is 158.214.135.57.
You must log into the SVP when using the Export Tool.
The svpip subcommand specifies the IP address of the SVP. You must include the svpip subcommand
in your command file. For detailed information about the svpip subcommand, refer to ”
•
login expusr passwd
This subcommand specifies that you use the user ID expusr and the password passwd to log into the
SVP.
The login subcommand logs the specified user into the SVP. You must include the login
subcommand in your command file. For detailed information about the login subcommand, see ”
CAUTION:
When you write the login subcommand in your command file, you must specify a
user ID that should be used exclusively for running the Export Tool. See ”
page 30 for reference.
CAUTION:
Secure files containing user IDs and password to prevent the information from being
compromised and used for access by unauthorized people.
•
show
This subcommand checks the SVP to find the period of monitoring data stored in the SVP and the data
collection interval (that is called gathering interval in Auto LUN XP), and then outputs them to the
standard output (for example, the command prompt) and the log file.
Auto LUN XP collects statistics by the two types of storing periods: in short range and in long range.
The show subcommand displays the storing periods and the gathering intervals for these two types of
monitoring data.
svpip 158.214.135.57 ; Specifies IP address of SVP
login expusr passwd ; Logs user into SVP
show ; Outputs storing period to standard output
group PhyPG Long ; Specifies type of data to be exported and type of
; storing period
group RemoteCopy ; Specifies type of data to be exported
shortrange 200410010850:200410010910
; Specifies term of data to be exported for data stored
; in short range
longrange 200409301430:200410011430
; Specifies term of data to be exported for data stored
; in long range
outpath out ; Specifies directory in which files will be saved
option compress ; Specifies whether to compress files
apply ; Executes processing for saving monitoring data in files