There are three primary commands used to manage
kernel configurations: kconfig, kcmodule, and kctune; and two other commands: kcpath and kclog.
The kconfig command manages
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” or the kconfig(1M) manpage.
The kcmodule command manages
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” or the kcmodule(1M) manpage.
The kctune command manages
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” or the kctune(1M) manpage.
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” or the kclog(1M) manpage.
Finally, users of the mk_kernel command, present in previous HP-UX releases, should be aware that
the command can still be used. It is included as a small shell script
that invokes the kconfig command. This older command
is obsolescent and will be removed in a future release. See mk_kernel(1M).