
Installing the E
xport Tool on a UNIX Computer
To install the Export Tool on a UNIX computer:
1. Create a directory on your UNIX computer.
In later s, you w
ill install the Export Tool on the new directory.
2. Mount the Export Tool installation media.
3. Do one of the following:
•If you are usin
g Solaris, locate the archive file export.tar in the directory
/program/mon
itor/solaris in your CD-ROM disc, and then copy export.tar to the new
directory that you created earlier.
• If you are using HP-UX, locate the archive file export.tar in the directory
/program/monitor/HP-UX in your CD-ROM disc, and then copy export.tar to the new
directory th
at you created earlier.
4. Decompress export.tar on your computer.
The Export Tool is installed. Also, a new directory named export is created.
Notes:
•The export directory contains a couple of files, which include runWin.bat. It is recommended
that you delete runWin.bat because this file is no longer needed.
•The Export T
ool program is a Java class file and is located in the export/lib directory.
Using the Export Tool
To export monitoring data, you must prepare a command file and a batch file. This section explains how
to prepare a command file and a batch file, and then explains how to run the Export Tool.
•
Preparing a command file (see “Preparing a Command File” on page 89)
•
Preparing a batch file (see “Preparing a Batch File”onpage91)
•
Running the Export Tool (see “Running the Export Tool”onpage93)
Preparing a Command File
To run the Export Tool, you must write scripts for exporting monitoring data. When writing scripts, you
need to write several subcommands in a command file. When you run the Export Tool, the subcommands
in the command file execute sequentially and then the monitoring data are saved in files.
Figure 38 on page 89 gives an example of a command file:
svpip
158.214.135.57 ; Specifies IP address of SVP
login expusr passwd ; Logs user into SVP
show ;
Outputs storing period to standard output
group PhyPG Long ; Specifies type of data to be exported and type of
; storing period
group RemoteCopy ; Specifies type of data to be exported
shortrange 200610010850:200610010910
;Spe
cifies term of data to be exported for data stored
; in short range
long
range 200609301430:200610011430
; Specifies term of data to be exported for data stored
;in
long range
outpath out ; Specifies directory in which files will be saved
option compress ; Specifies whether to compress files
app
ly ; Executes processing for saving monitoring data in files
Note:
In the above scripts, the semicolon (;) indicates the beginning of a comment. Characters
from a semicolon to the end of the line are regarded as a comment.
Figure 38 An Example of a Command File
The scripts in this command file is explained as follows:
•
svpip 158.214.135.57
XP24000 Performance Monitor User's Guide
89
Comentários a estes Manuais