Preparing a batch file – HP StorageWorks XP Remote Web Console Software User Manual

Page 49

Advertising
background image

XP Performance Control user guide

49

For detailed information, see ”

The group subcommand

” on page 58.

shortrange 200410010850:200410010910

, and

longrange 200409301430:200410011430

, and

remotecopyrange 200409301430:200410011430

The shortrange and longrange subcommands specify the monitoring data term to be exported.

Use these subcommands to narrow the export-target term within the stored data. You can specify both

the shortrange and longrange subcommands at the same time. The difference between these

subcommands is as follows:
• The shortrange subcommand is valid for monitoring data in short range. You can use this

subcommand to narrow the export-target term for all the monitoring items you can specify by the
group

subcommand.

Specify a term within Short Range From XXX To XXX which is output by the show

subcommand.

• The longrange subcommand is valid for monitoring data in long range. You can use this

subcommand only when you specify the PhyPG, PhyLDEV, PhyProc, or PhyCSW operand with

the Long option in the group subcommand. (The items that can be saved by these operands are

the monitoring data displayed in the Physical tab of the XP Auto LUN pane with selecting
longrange

.)

Specify a term within Long Range From XXX To XXX which is output by the show

subcommand.

In

Figure 2

, the shortrange 200410010850:200410010910 subcommand specifies the term

8:50-9:10 on Oct.1, 2004. This subcommand is applied to the group RemoteCopy subcommand

in this example. When running the Export Tool, it exports statistics about remote copy operations by

XP Continuous Access and TrueCopy for z/OS in the term specified by the shortrange

subcommand.
Also, in

Figure 2

, the longrange 200409301430:200410011430 subcommand specifies the term

from Sep. 30, 2004, 14:30 to Oct. 1, 2004, 14:30. This subcommand is applied to the group
PhyPG Long

subcommand in this example. When running the Export Tool, it exports usage statistics

about parity groups in the term specified by the longrange subcommand.
If you run the Export Tool without specifying the shortrange or longrange subcommand,

monitoring data in the whole storing period (data in the period displayed by the show subcommand)

is exported.
For detailed information, see ”

The shortrange subcommand

” on page 67 and

The longrange

subcommand

” on page 70.

outpath out

Specifies files should be saved in the directory named

out

in the current directory.

The outpath subcommand specifies the directory in which files should be saved. For detailed

information, see ”

The outpath subcommand

” on page 72.

option compress

Specifies that the Export Tool should compress monitoring data in ZIP files.
The option subcommand specifies whether files are saved in ZIP or CSV format. For detailed

information, see ”

The option subcommand

” on page 73.

apply

Saves monitoring data in files. For detailed information, see ”

The apply subcommand

” on page 73.

When installing the Export Tool, the file

command.txt

is stored in the

export

directory. The

command.txt

file contains sample subcommands for your command file. HP recommends customizing the

subcommands in

command.txt

according to your needs. For detailed information about subcommand

syntax, see

Command reference

” on page 54.

Preparing a batch file

To run the Export Tool, you need a batch file. The Export Tool starts and saves monitoring data in files

when you execute the batch file.

Advertising