Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Configuring a System
Reconfiguring the Kernel (HP-UX 11i Version 2)
Chapter 3 317
The kconfig command is used to manage whole kernel configurations. It
allows configurations to be saved, loaded, copied, renamed, deleted,
exported, imported, etc. It can also list existing saved configurations and
give details about them. For more information, see “Managing Saved
Configurations with kconfig” on page 352 or the kconfig (1M) manpage.
The kcmodule command is used to manage kernel modules. Kernel
modules can be device drivers, kernel subsystems, or other bodies of
kernel code. Each module can be unused, statically bound into the main
kernel executable, or dynamically loaded. The kcmodule command will
display or change the state of any module in the currently running
configuration or any saved configuration. For more information, see
“Managing Kernel Modules with kcmodule” on page 325 or the kcmodule
(1M) manpage.
The kctune command is used to manage kernel tunable parameters.
These are variables that control the behavior of the kernel. They have
many uses; common ones include controlling the allocation of system
resources and tuning aspects of kernel performance. The kctune
command will display or change the value of any tunable parameter in
the currently running configuration or any saved configuration. For more
information, see “Managing Kernel Tunable Parameters with kctune” on
page 334 or the kctune (1M) manpage.
In addition to these three primary commands, there are two other kernel
configuration commands. The kcpath command prints information about
the location of the currently running kernel; it is intended for use by
scripts and applications that need this information (see the kcpath (1M)
manpage for details). The kclog command searches the kernel
configuration log file; for details see “The Kernel Configuration Log File”
on page 362 or the kclog (1M) manpage.
Finally, users of the mk_kernel, kmpath, and kmtune commands present
in previous HP-UX releases should be aware that these commands can
still be used. They have been included as small shell scripts that invoke
the commands listed above. These older commands are obsolescent and
will be removed in a future release. See mk_kernel (1M), kmpath (1M),
and kmtune (1M).