It is often useful to know what configuration
changes have been made on a system. For this purpose, the kernel configuration
tools automatically maintain a log file at /var/adm/kc.log. This file lists every change made using the kernel configuration
commands. (Some configuration changes can be made by calling kernel
system calls directly. These changes are not logged.) Changes made
through HP SMH, the web-based interface for kernel configuration,
are logged since HP SMH uses the kernel configuration commands to
make the changes.
The log file is a plain text file that you can
view directly. The kclog command is provided for
when you want to do an intelligent search of the log file, but its
use is optional. (More information on the kclog command can be found in the kclog(1M) manpage.)
All of the kernel configuration commands accept
a -C (comment) option when they are being used to
make configuration changes. The -C option allows
you to specify a comment that will be included in the log entry for
your change. This can help readers of the log understand the reasons
for your changes.
To add a comment to the log without making a configuration
change, use kclog -C.
On the Kernel Configuration page, you can select View Change Log in the
right-hand column to see the kernel configuration log file, as shown
in Figure 10-12.