hntr2getconf
- Organization of this page
Function
The hntr2getconf command outputs the settings of the integrated trace logs output by the Hitachi Network Objectplaza Trace Library (HNTRLib2), such as the size, number, and output path of the integrated trace logs.
This command allows you to set the same settings (the size, number of, and output path of the integrated trace logs) as can be set by using the hntr2util command, which utilizes a GUI.
Format
hntr2getconf [-f] [-b] [-n] [-s] [-w] [-i] [-m] [-t] [-l command-log-file-name] [-h]
Required execution permission
In Windows: None.
In UNIX: None.
Command directory
- In Windows:
-
system-drive\Program Files\Hitachi\HNTRLib2\bin\
- In UNIX:
-
/opt/Hitachi/HNTRLib2/bin/
Arguments
-f
Outputs the output paths and names of the integrated trace logs output by the Hitachi Network Objectplaza Trace Library (HNTRLib2).
-b
Outputs the size of the integrated trace logs.
-n
Outputs the number of integrated trace logs.
-s
Output the buffer file size.
-w
Outputs the monitoring period.
-i
Outputs the monitoring interval.
-m
Outputs the number of messages.
-t
Outputs the type of exclusive control.
-l command-log-file-name
Specify this option if you want to save the results read by the options to a log file.
-h
Outputs online Help information.
Return values
0 |
Normal end |
1 |
Wrong arguments |
13 to 17 |
Internal error |
99 |
System error |
Example
The following shows an example of output.
- When only one option is specified (in Windows):
> hntr2getconf.exe -b 8 >
- When multiple options are specified (in UNIX):
$ hntr2getconf -b -n LogSize=8 LogFNum=4 $
If multiple options are specified, the system outputs the settings in the order that the options are specified, using the corresponding key names. The following table shows the correspondence between option names and key names.
Key name
Option name
LogFile
-f
LogSize
-b
LogFNum
-n
MapSize
-s
WatchDog
-w
IntervalSec
-i
MaxMsgNum
-m
ShmLockType
-t