The help subcommand, Syntax, Description – HP StorageWorks XP Remote Web Console Software User Manual

Page 75: Example, The java command for exporting data in files, Operands, The java command for exporting data, In files, The help subcommand” on

Advertising
background image

Performance Control XP user guide

75

The following command file starts monitoring remote copy operations. The sampling time interval is 10

minutes.

The help subcommand

Syntax

help

Description

The help subcommand displays the online Help for subcommands.
If you want to view the online Help, it is recommended that you create a batch file and a command file that

are exclusively used for displaying the online Help. For detailed information, see Example below.

Example

In this example, a command file (

cmdHelp.txt

) and a batch file (

runHelp.bat

) are created in the

C:\export

directory in a Windows computer:

Command file (

c:\export\cmdHelp.txt

):

Batch file (

c:\export\runHelp.bat

):

NOTE:

The ↵ symbol in this batch file example indicates the end of a command line.

In this example, you must do either of the following to view the online Help:
• Double-click

runHelp.bat

with the mouse.

• Go to the

c:\export

directory at the command prompt, enter runHelp or runHelp.bat and

then press the Enter key.

The java command for exporting data In files

Syntax

java

Δ-classpathΔclass-pathΔproperty-parametersΔsanproject.getmondat.

RJMdMain

Description

This java command starts the Export Tool.
To start the Export Tool, you must write this java command in your batch file and then run the batch file.

Operands

class-path

Specifies the path to the class file of the Export Tool.
The path must be enclosed in double quotation marks (").

property-parameters

You can specify the following parameters. At least you must specify -Dmd.command.

svpip 158.214.135.57

login expusr passwd

set switch=10

help

java -classpath "./lib/JSanExport.jar;./lib/JSanRmiServer.jar"
-Dmd.command=cmdHelp.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain

pause

Advertising