HP StorageWorks Performance Control XP user guide (T1605-96007, October 2007)

Performance Control XP user guide 51
Batch file for UNIX computers (runUnix.bat)
Figure 21 Scripts in batch files (when specifying the IP address of a proxy host)
NOTE: The symbol indicates the end of a command line.
For detailed information about syntax of the java command, see ”The java command for exporting data
In files” on page 75.
Running the Export Tool
To run the Export Tool and save monitoring data in files, you must execute your batch file. To execute your
batch file, you must enter the name of the batch file at the command prompt, and press Enter (see
Figure 22 for reference). If you are using a Windows computer, you can double-click the batch file to
execute the batch file.
Figure 22 An example of executing a batch file (on a Windows computer)
When the Export Tool starts exporting monitoring data, dots (...) are issued to the standard output (for
example, the command prompt). The dots increment as export processing continues (see Figure 23). If an
internal error occurs, the exclamation mark (!) is issued to the standard output and the Export Tool attempts
to restart exporting data. If the export processing restarts, dots reappear and increment until export
processing finishes.
Figure 23 Sample command prompt outputs when the Export Tool runs
When the Export Tool successfully finishes, monitoring data is usually compressed in ZIP-format archive
files. To obtain CSV files, you must decompress ZIP files and extract CSV files out of the ZIP files. If the
operating system on your computer does not include a feature for decompressing ZIP files, you must obtain
software for decompressing files.
For a complete list of files to be saved by the Export Tool, see ”Files to be exported” on page 32.
Notes
When an internal error shown in Table 19 occurs during export processing, the exclamation mark (!)
appears and retries export processing. By default, the Export Tool can retry processing up to three
times. If export processing does not finish after three retries or if an internal error occurs other than
#! /bin/sh
java -classpath "./lib/JSanExport.jar:./lib/JSanRmiServer.jar"
-Dhttp.proxyHost=158.211.122.124 -Dhttp.proxyPort=8080 -Dmd.command=command.txt
-Dmd.logpath=log sanproject.getmondat.RJMdMain
c:\WINDOWS> cd c:\export Go to the directory containing runWin.bat
c:\export> runWin.bat Execute runWin.bat
[ 2] svpip 158.214.135.57
[ 3] login User = expusr, Passwd = [****************]
:
:
[ 6] group Port
:
:
[20] apply
Start gathering port data
Target = 16, Total = 16
+----+----+----+----+----+----+----+----+----+----+
...........................!
.................................
End gathering port data