hntr2utl2 (UNIX only)
- Organization of this page
Function
The hntr2utl2 command changes the size, number, and output path of the integrated trace logs output by the Hitachi Network Objectplaza Trace Library (HNTRLib2).
At command execution, the following menu appears.
The menu has the following items.
- 1: Size of a log file.
-
Specify the log file size (8 to 8,192 KB). The initial setting is 256 KB.
- 2: Number of log files.
-
Specify the number of log files (1 to 16). The initial setting is 4.
- 3: Name of log files.
-
Enter the output path. The initial setting is /var/opt/hitachi/HNTRLib2/spool/hntr2*.log.
- 4: Size of buffer.
-
Specify the buffer file size (8 to 2,048 KB). The initial setting is 64 KB.
- 5: Interval timer.
-
Specify the interval for monitoring the log file (1 to 300 seconds). The initial setting is 10 seconds.
- 6: Lookout span.
-
Specify the interval for monitoring the log file (1 to 3,600 seconds). Do not change this from the initial setting.
- 7: Max message per span.
-
Specify the range (0 to 500) for the number of messages to be output by the command. Do not change this from the initial setting.
Format
hntr2utl2
Required execution permission
Superuser
Command directory
/opt/hitachi/HNTRLib2/bin/
Notes
-
The following shows the amount of log data that each program outputs each day. You should consider these values when specifying log file sizes. The value of each calculation formula provides the amount of log data output during normal operation. You should specify a larger size to handle errors.
- Process management
-
3.1 x number-of-starts-and-stops-per-day (kilobytes)
The above formula obtains the amount of log data for a single product. Estimate the amount of log data for each of JP1/Base, JP1/IM, and JP1/AJS.
- Authentication server
-
0.2 x number-of-logins-from-JP1/AJS - View + 0.2 x number-of-command-executions (kilobytes)
- JP1/IM
-
(0.16 + automated-action-command-length) x number-of-times-automated-action-runs-per-day + 0.4 x number-of-times-automated-action-is-changed-from-JP1/IM - View + 0.16 x number-of-logins-from-JP1/IM - View-to-JP1/IM - Manager + (0.16 + command-length-on-command-execution-screen) x number-of-command-executions-per-day (kilobytes)
- JP1/AJS
-
number-of-times-startup-conditions-are-satisfied x 0.2 (kilobytes)
-
If you modified the settings for the Hitachi Network Objectplaza Trace Library (HNTRLib2), you must restart it according to the following procedure:
-
Stop the integrated trace collection process by executing the following command:
/opt/hitachi/HNTRLib2/bin/hntr2kill
-
Start the integrated trace collection process by executing the following command:
/opt/hitachi/HNTRLib2/bin/hntr2mon -d &
-
-
If you modified the buffer file size, restart all the services that output log data to the integrated trace log. The setting will not take effect if you do not restart them.