java -jar [INSTALL_PATH_WITHSEP]TraceAnalyzer.jar [INSTALL_PATH]or, to verify license:
[-log:N]
[-logfile:LOGFILE_PATH]
[-tracefile:TRACEFILENAME
[-filter:FILTERNAME]
[-report:REPORTNAME]
]
[-nowait]
java -jar [INSTALL_PATH_WITHSEP]TraceAnalyzer.jar [INSTALL_PATH] -vwhere the above parameters are defined in Table 1:
Parameter | Required/Optional | Description |
INSTALL_PATH | Required, unless
TraceAnalyzer.jar file resides in current directory |
The directory in which the product was installed; specifically, where the TraceAnalyzer.jar file resides. In the example above, this would be x:\jta. If the current directory were already x:\jta, then it is not necessary to specify this parameter, since the current directory is the default. |
INSTALL_PATH _WITHSEP |
see INSTALL_PATH | Same as INSTALL_PATH, except with the file separator character used by the underlying operating system appended. This will be the backslash (\) character on OS/2 and Windows and the forward slash (/) character on Unix platforms. |
-log:N | Optional | The severity level at which messages from the program are logged to
the event log file. The choices
are:
|
-logfile: LOGFILE_PATH |
Optional | Indicates the path and filename of the file in which logging information is to be recorded. The default is analyzer.log, in a logs subdirectory, directly off INSTALL_PATH. Note that the program expects this path to refer to an existing directory. |
-tracefile: TRACEFILENAME |
Optional | Indicates the path and filename of a trace file which is to be opened immediately after the program has completed initialization. If TRACEFILENAME contains whitespace, it must be enclosed in double quotes ("). If TRACEFILENAME represents an invalid file reference, no trace file is loaded. |
-filter: FILTERNAME |
Optional | Indicates the name of a filter which should be applied immediately to the data extracted from TRACEFILENAME. If FILTERNAME contains whitespace, it must be enclosed in double quotes ("). This parameter is ignored if the -tracefile option is not also specified or if it refers to an invalid filename. |
-report: REPORTNAME |
Optional | Indicates the name of a report which should be applied immediately to the data extracted from TRACEFILENAME. If REPORTNAME contains whitespace, it must be enclosed in double quotes ("). This parameter is ignored if the -tracefile option is not also specified or if it refers to an invalid filename. |
-nowait | Optional | This option should be used if the Trace Analyzer is run in such a way that the console (i.e., command line window) from which it was launched is not visible or cannot accept keyboard input, or if the program is not launched from a console. Without this option, if an unexpected error is encountered at runtime, a warning message is written to the console as the program is being closed. The program will not exit until the user acknowledges the warning message by pressing a keyboard key. This is done to ensure the user does not miss a potentially important warning. Thus, if the console is unavailable or input is disabled, the program will not end normally, unless the -nowait option has been specified. When this option is specified, and an unexpected error occurs at runtime, the warning notification is still issued when the program is closed, but no user intervention is required to permit the program to complete. |
-v | Required
(for license verification only) |
Displays license verification information at the command line. This option is mutually exclusive with all others; if combined with other parameters, all others will be ignored. When run with the -v parameter, the Trace Analyzer's graphical user interface is not displayed. |
> d: > cd \jta > java -jar TraceAnalyzer.jar
> g: > cd \mytraces > java -jar d:\jta\TraceAnalyzer.jar d:\gc\jta
> d: > cd \jta > java -jar TraceAnalyzer.jar -log:3 -logfile:e:\logs\jta.log
> d: > cd \jta > java -jar TraceAnalyzer.jar -tracefile:g:\mytraces\trace1.enc -filter:"My Filter" -report:"My Report"