Termination code – HP XP P9000 for Compatible High Perf FICON Connectivity Software User Manual

Page 93

Advertising
background image

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

(page 99)

.

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<CR+LF> if %errorlevel%==1 echo THE SET
SUBCOMMAND FAILED<CR+LF> if %errorlevel%==3 echo THE SET SUBCOMMAND
FAILED<CR+LF> pause<CR+LF>

In the previous scripts, <CR+LF> indicates the end of a command line.

Using the Export Tool

93

Advertising
This manual is related to the following products: