Hp XP Array Manager Software Bedienungsanleitung Seite 123

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 172
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 122
The apply command saves monitoring data in files. For detailed information about the apply
command, see apply Subcommand on page 154.
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 command syntax,
see Command Reference on page 128.
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 39 illustrates scripts in runWin.bat and runUnix.bat. These batch files include a command
line that executes a Java command. When you execute your batch file, the Java command executes
commands specified in your command file and then saves monitoring data in files.
Batch file for Windows computers (runWin.bat)
Java -classpath "./lib/JSanExport.jar;./lib/JSanRmiServer.jar"
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
pause
Batch file for UNIX computers (runUnix.bat)
#! /bin/sh
Java -classpath "./lib/JSanExport.jar:./lib/JSanRmiServer.jar"
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
Figure 39 Scripts in Batch Files
.
The symbol indicates the end of a command line.
If the computer that runs the Export Tool communicates directly with the SVP, you usually do not need
to change scripts in runWin.bat and runUnix.bat. However, you might need to edit the Java
command script in your text editor in some occasions, for example:
If the name of your command file is not command.txt
If you moved your command file to a different directory
If you do not want to save log files in the log directory
To name log files as you like
If the computer that runs the Export Tool communicates with the SVP via a proxy host, you need to
edit the Java command script in your text editor. When editing the Java command script, you need
to specify the host name (or the IP address) and the port number of the proxy host. For example, if
the host name is Jupiter and the port number is 8080, the resulting command script as shown in Figure
40.
XP24000/XP20000 Performance Monitor User Guide 123
Seitenansicht 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 171 172

Kommentare zu diesen Handbüchern

Keine Kommentare