Running a batch file

To save monitoring data in files, launch Export Tool by running the batch file.

From a system running Windows, double-click the batch file to run it.

c:\WINDOWS> cd c:\export        
c:\export> runWin.bat          

Dots (...) appear on the screen until the system finishes exporting data. If an internal error occurs, an exclamation mark (!) appears and then Export Tool restarts automatically.

Example of command prompt outputs from Export Tool:

Loading ExportTool...
Export tool start [Version 80-xx-xx/xx]
command file = c:\export\command.txt
[ 2] ip 158.214.135.57:1099   
[ 3] dkcsn 123456          
[ 4] login User = expusr, Passwd = [****************]    
   :
   :
[ 6] group Port                        
   :
   :
[20] apply                             
Start gathering port data              
Target = 16, Total = 16
+----+----+----+----+----+----+----+----+----+----+
...........................!           
.................................      
End gathering port data        

It might take time after Loading ExportTool is displayed in the command prompt and before Export tool start [Version 80-xx-xx/xx] is displayed. The time elapsed between the two messages varies depending on the communication environment of the computer executing Export Tool and SVP. The following table shows the approximate time period.

Communication speed between a computer and SVP

Line usage rate (%)

Approximate time

1 Gbps

0.1

1 minute

0.5

12 seconds

100 Mbps

0.2

5 minutes

1

1 minute

By default, the system compresses monitoring data files into a ZIP-format archive file. When you want to view the monitoring data, you can decompress and extract the CSV files from the ZIP archive. If the operating system on your computer does not include a way to extract files from a ZIP archive, you must obtain software to view the data.

When Export Tool is running, if an internal error listed in the Errors in the Export Tool table occurs, an exclamation mark (!) appears, and then Export Tool tries to export again. By default, Export Tool retries three times. If export processing does not end after three retries, or an internal error that is not listed in the table occurs, no retries are performed. In this case, close the command prompt, and then run Export Tool again.

Note that the maximum number of retries can be changed by the retry subcommand. For details about the retry subcommand, see retry.

When Export Tool processing is completed, the directories and files created by Export Tool are deleted automatically. If Export processing stops abnormally, the following directories and files are not deleted:

export/lib/ip-value
JSanExport.jar
JSanRmiApiSx.jar
JSanRmiServerUx.jar
SanRmiApi.jar

To delete the remaining directories and files, run a batch file. If your computer runs Windows, run delWin.bat. If your computer runs UNIX, use delUnix.bat.

CautionDo not run delWin.bat or delUnix.bat while obtaining monitoring data by running Export Tool.
NoteIf you change the ip value or in command.txt before running delWin.bat or delUnix.bat, the directories and files created by Export Tool are not deleted. In this case, delete them manually in the lib directory.
NoteYou can change the default method of exporting files to an uncompressed format. However, the resulting files could be significantly larger and take longer to compile. For more information, see option.

For a complete list of files to be saved by Export Tool, see Using Export Tool.