Processing time, Termination code, Processing time termination code – HP XP RAID Manager Software User Manual
Page 93
Processing time
Files saved by the Export Tool are often very large. The total file size for all the files can be as
large as approximately 2 GB. For this reason, the exporting process might take a lot of time. If
you want to export statistics spanning a long period of time, it is recommended that you run the
Export Tool multiple times for different periods, rather than run it one time to export the entire time
span as a single large file. For example, if you want to export statistics spanning 24 hours, run
the tool eight times to export statistics in three 3- hour increments.
The next table provides lists time estimates for exporting monitoring data files using different
operands in the group subcommand:
Table 8 Estimate of time required for exporting files
Remarks
Estimated time
Operand for the group
subcommand
This estimate assumes that the Export Tool should save statistics about
128 ports within a 24-hour period.
5 minutes
Port
This estimate assumes that the Export Tool should save statistics about
128 ports within a 24-hour period.
5 minutes
PortWWN
This estimate assumes that:
60 minutes
LDEV
•
The Export Tool should save statistics about 8,192 volumes within a
24-hour period.
•
The Export Tool is used eight times. Each time the Export Tool is used,
the tool obtains statistics within a 3-hour period.
This estimate assumes that:
60 minutes
LU
•
The Export Tool should save statistics about 12,288 LUs within a
24-hour period.
•
The Export Tool is used eight times. Each time the Export Tool is used,
the tool obtains statistics within a 3-hour period.
NOTE:
•
The estimated time in the table is for the 1-minute interval of data collection. If the interval is
2 minutes, "a 24-hour period" in the table will be "a 48-hour period", because the interval
is proportional to the stored time.
•
The estimated time that includes the transfer time of the network might take a lot of time
depending on the transmission speed of the network.
•
To shorten the acquisition time, specify the option of the group command to narrow acquisition
objects. For details about the group command, see
Termination code
If you want to use a reference to a termination code in your batch file, do the following:
•
To use such a reference in a Windows batch file, write %errorlevel% in the batch file.
•
To use such a reference in a UNIX Bourne shell script, write $? in the shell script.
•
To use such a reference in a UNIX C shell script, write $status in the shell script.
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.
java -classpath
"./lib/JSanExport.jar;./lib/JSanRmiApiEx.jar;./lib/JSanRmiServerUx.jar"
-Xmx536870912 -Dmd.command=command.txt -Dmd.logpath=log
sanproject.getmondat.RJMdMain
SUBCOMMAND FAILED
FAILED
Using the Export Tool
93