HP-UX Reference (11i v2 03/08) - 4 File Formats (vol 8)
n
nettlgen.conf(4) nettlgen.conf(4)
data is always in the .KLOG0 file.
#
# KL INFORMATION
#
KL:1000:1000:1M:/var/adm/kl:0
The following example turns on write to disk option when KL facility is started, decreases the size of the
kernel logging queue to 500 messages and increases the size of the log file space to 5M bytes. Other
values are the same as the default.
#
# KL INFORMATION
#
KL:500:5000:5M:/var/adm/kl:1
The following example shows a typical subsystem record. These records should not be changed by the
user, but are set by the subsystems using
nettlconf during product installation.
#
# TEST NetTL SUBSYSTEMS
#
SS:96:TEST_ID_1:8:u:NULL:netfmt:subsys_GENERIC_FORMAT: \
ss_96_go:FORMATTER
SS:97:TEST_ID_2:8:u:NULL:netfmt:subsys_GENERIC_FORMAT: \
ss_97_go:FORMATTER
#
# Test KL Subsystems
#
SS:538:Test_ID_8:8:k:libklfmt.sl:klfmt:subsys_kl_format: \
subsys_kl_get_options:KERNEL LOGGING
SS:539:Test_ID_9:12:k:libklfmt.sl:klfmt:subsys_kl_format: \
subsys_kl_get_options:KERNEL LOGGING
Note: The continuation marks in this example (\ at end-of-line) and the following one are placed for
readability purposes only. nettl, kl, and netfmt do not understand continuation mark.
The following entry must always be included in the configuration file. This defines the subsystem for the
formatter itself; if it is not in the file, the formatter netfmt will not operate properly.
#
# FORMATTER SUBSYSTEMS
#
SS:127:FORMATTER:12:u:libfmtutil.sl:netfmt: \
subsys_GENERIC_format:subsys_127_get_options:FORMATTER
SS:512:FORMATTER:e:u:libfmtutil.sl:netfmt: \
kl_GENERIC_format:subsys_512_get_options:KL FORMATTER
FILES
/etc/nettlgen.conf
SEE ALSO
netfmt(1M), nettl(1M), kl(1M), nettlconf(1M).
HP-UX 11i Version 2: August 2003 − 5 − Hewlett-Packard Company Section 4−−213