HP XP7 Performance for Open and Mainframe Systems User Guide (H6F56-96007)
Example of specifying a proxy host on Windows (runWin.bat):
java -classpath
"./lib/JSanExport.jar;./lib/JSanRmiApiEx.jar;./lib/JSanRmiServerUx.jar"
-Dhttp.proxyHost=Jupiter -Dhttp.proxyPort=8080 -Xmx536870912
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
<CR+LF> pause <CR+LF>
Example of specifying a proxy host on UNIX (runUnix.bat):
#! /bin/sh <LF> java -classpath
"./lib/JSanExport.jar:./lib/JSanRmiApiEx.jar:./lib/JSanRmiServerUx.jar"
-Dhttp.proxyHost=Jupiter -Dhttp.proxyPort=8080 -Xmx536870912
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
<LF>
In the preceding scripts, <CR+LF> and <LF> indicates the end of a command line.
If the IP address of the proxy host is 158.211.122.124 and the port number is 8080, the resulting
command script is as follows:
Example batch file for Windows computers (runWin.bat):
java -classpath
"./lib/JSanExport.jar;./lib/JSanRmiApiEx.jar;./lib/JSanRmiServerUx.jar"
-Dhttp.proxyHost=158.211.122.124 -Dhttp.proxyPort=8080 -Xmx536870912
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
<CR+LF> pause <CR+LF>
Example batch file for UNIX computers (runUnix.bat):
#! /bin/sh <LF> java -classpath
"./lib/JSanExport.jar:./lib/JSanRmiApiEx.jar:./lib/JSanRmiServerUx.jar"
-Dhttp.proxyHost=158.211.122.124 -Dhttp.proxyPort=8080 -Xmx536870912
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
<LF>
In the above scripts, <CR+LF> and <LF> indicates the end of a command line.
For detailed information about syntax of the Java command, see “Java” (page 120).
Using the Export Tool
Running the batch file
To save monitoring data in files, launch the Export Tool by running the batch file. From a system
running UNIX, enter the name of the batch file at the command prompt, and then press the <Enter>
key.
From a system running Windows, double-click the batch file to run it.
c:\WINDOWS> cd c:\export
c:\export> runWin.bat
Dots (...) appear on the screen until the system finishes exporting data. If an internal error occurs,
an exclamation mark (!) appears; and then the Export Tool restarts automatically.
Example of command prompt outputs from the Export Tool
[ 2] svpip 158.214.135.57
[ 3] login User = expusr, Passwd = [****************]
:
:
[ 6] group Port
:
:
[20] apply
Start gathering port data
96 Exporting Performance Monitor data