A SERVICE OF

logo

7-22 Using the Export Tool
Hitachi Universal Storage Platform V/VM Hitachi Performance Manager User’s Guide
If you run the Export Tool without specifying the short-range or long-
range
subcommand, the monitoring data in the whole storing period (data
in the period displayed by the
show subcommand) will be exported.
For detailed information about the short-range subcommand, see
short-range Subcommand.
For detailed information about the long-range subcommand, see long-
range Subcommand.
outpath out
This script specifies that 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 about the
outpath subcommand, see
outpath Subcommand.
option compress
This script specifies that the Export Tool should compress monitoring data
in ZIP files.
The
option subcommand specifies whether to save files in ZIP format or in
CSV format. For detailed information about the
option subcommand, see
option Subcommand.
apply
The apply subcommand saves monitoring data in files. For detailed
information about the
apply command, see apply Subcommand.
When you install the Export Tool, the file command.txt will be stored in the
export directory. The command.txt file contains sample scripts for your
command file. It is recommended that you customize scripts in command.txt
according to your needs. For detailed information about subcommand syntax,
see Command Reference.
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.
The installation directory for the Export Tool (that is, the export directory)
contains two batch files: runWin.bat and runUnix.bat. If your computer runs
Windows, use runWin.bat. If your computer runs UNIX, use runUnix.bat.
Figure 7-2 illustrates scripts in runWin.bat a
nd runUnix.bat. These batch files
include a command line that executes a Java command. When you execute
your batch file, the Java command executes subcommands specified in your
command file and then saves monitoring data in files.
Batch file for Windows computers (runWin.bat)