Command reference, Table 22 subcommand list, Command syntax – HP StorageWorks XP Remote Web Console Software User Manual
Page 54: 22 subcommand list

54
XP Performance Control Export Tool
A reference to a termination code is used in the following example of a Windows batch file. If this
batch file executes and the Export Tool returns the termination code 1 or 3, the command prompt
displays a message that indicates the set subcommand fails.
Figure 8
Sample batch file including a reference to termination code
NOTE:
The symbol indicates the end of a command line.
Command reference
This section explains details about subcommands you can write in your command file and the java
command you should use in your batch file.
lists the subcommands explained in this section. The
java
command is explained in ”
The java command for exporting data In files
Command syntax
This section explains the syntax of subcommands you can write in the command file. This section also
explains the syntax of the java command you should use in the batch file.
java -classpath "./lib/JSanExport.jar;./lib/JSanRmiServerEx.jar" -Xmx268435456 -
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
if %errorlevel%==1 echo THE SET SUBCOMMAND FAILED
if %errorlevel%==3 echo THE SET SUBCOMMAND FAILED
pause
Table 22
Subcommand list
Subcommand
Function
See
svpip
Specifies the IP address of the SVP to be logged into.
retry
Makes settings on retries of export processing.
login
Logs the specified user into the SVP.
show
Checks the SVP to find the period of monitoring data
stored in the SVP and the data collection interval (called
the gathering interval), and then outputs them to the
standard output and log file.
group
Specifies the type of data to be exported.
shortrange
Specifies the term of monitoring data to be exported for
short range monitoring data.
longrange
Specifies the term of monitoring data to be exported for
long range monitoring data.
outpath
Specifies the directory in which files should be saved.
option
Specifies whether to save files in ZIP or CSV format.
apply
Saves monitoring data in files.
set
Starts or ends monitoring an array and also specifies the
gathering interval in short range monitoring.
help
Displays the online Help for subcommands.