HP-UX System Administrator's Guide: Configuration Management

All kernel configuration changes made using the kernel configuration commands are
logged to the file /var/adm/kc.log. Details about this log file can be found in “The
Kernel Configuration Log File” (page 195), and the kconfig(5) and kclog(1M) manpages.
The primary kernel configuration commands support a specialized output format that
is designed for use by scripts and applications that need to parse the output of the
commands. Such scripts and applications must use this specialized output format since
HP does not guarantee release-to-release compatibility for any other output format of
these commands. More detail is available in “Parsing Command Output” (page 196)
and the kconfig(5) manpage.
It is possible to have an undesirable, or even unbootable, kernel configuration because
of mistaken configuration changes, hardware failures, or software defects. Mechanisms
exist both to prevent such problems and to help recover from them. For more details
see “Recovering from Errors” (page 197).
Common Behavior for Kernel Configuration Commands
Because the kernel configuration commands are part of a unified suite, they share
behavior whenever possible. Shared behaviors include command line options, output
formats, exit status codes, security constraints, and persistence of changes.
Common Command Line Options
Table 10-1 lists the options shared by the kernel configuration commands kconfig,
kcmodule, kctune, and kclog.
Table 10-1 Common Kernel Configuration Command Line Options
k
c
l
o
g
k
c
t
u
n
e
k
c
m
o
d
u
l
e
k
c
o
n
f
i
g
DescriptionOption
ooo(all) Include all information in the output that is normally omitted for
brevity.
-a
ooo(backup) Specify whether or not to update the automatic backup
configuration before the requested change and specify the default backup
behavior for future changes.
-b
ooo(configuration) Specify the saved configuration to manage. If omitted,
manage the currently running configuration.
-c
oooo(comment) Include a comment in the kernel configuration log file entry
associated with this command invocation.
-C
ooo(description) Display descriptions of each item.
-d
Common Behavior for Kernel Configuration Commands 157