HP-UX 11i Version 1.5 Kernel Logging
Kernel Logging
Using Kernel Logging
Chapter 1 11
You can obtain information, in the form of a report, about the status of the KL infrastructure.
A typical report looks similar to this:
# kl -i
Kernel Logging Information:
Kernel Logging: ON
Kernel Logging Disk Writer: ON
Kernel Logging Picture (Snapshot): OFF
Current Queue Size: 100010485
Number of Messages Queued: 0
Log File name: /var/adm/kl.KLOG0
Log File size: 1048576 (minimum: 8192)
Subsystem Name: Log Class:
KL_VM ( 513) DISASTER
KL_PKM ( 514) DISASTER
KL_DLKM ( 515) DISASTER
KL_PM ( 516) DISASTER
KL_VFS ( 517) DISASTER
KL_VXFS ( 518) DISASTER
etc.
#
Step 1. Obtain a status report on the KL infrastructure itself by executing the following
command:
#kl -i
Using kl to Temporarily Reconfigure Kernel Logging
The file /etc/nettlgen.conf contains the default values for
❏ the level of messages that will be logged
❏ the subsystems from which that level of messages will be accepted
❏ the maximum size of the log file
❏ the maximum number of individual messages that will be logged
The only way these defaults can be permanently changed for your system is with the
nettlconf command (see “Using nettlconf to Reconfigure the Default Level of Message
Logging for a Kernel Subsystem” on page 13).
However, you can temporarily set new values for these aspects of KL, as described in this
procedure.
Step 1. Temporarily set the appropriate level of message logging for a specific subsystem(s)
by executing the following command: