HP-UX HB v13.00 Ch-07 - Kernel Configuration

HP-UX Handbook Rev 13.00 Page 18 (of 33)
Chapter 07 Kernel Configuration
October 29, 2013
name, etc. You do not recompile the kernel anymore but modify a KC.
New commands
There are three new primary commands to manage kernel configurations, kconfig(1M),
kctune(1M) and kcmodule(1M).
kconfig(1M)
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.
# kconfig -v
Configuration backup
Title Automatic Backup
Save Time Tue Jul 22 13:09:53 2003
Modify Time Tue Jul 22 13:09:53 2003
Kernel Path /stand/backup/vmunix
Configuration last_install
Title Created by last OS install
Save Time Thu Jul 3 09:23:03 2003
Modify Time Thu Jul 3 09:23:04 2003
Kernel Path /stand/last_install/vmunix
kctune(1M)
is used to manage kernel tunable parameters. kctune will display or change the value of any
tunable parameter in the currently running configuration or any saved configuration.
# kctune nproc=2000
* The automatic 'backup' configuration has been updated.
* The requested changes have been applied to the currently
running system.
Tunable Value Expression Changes
nproc (before) 4200 Default Immed
(now) 2000 2000
# kctune nproc=default
* The automatic 'backup' configuration has been updated.
* The requested changes have been applied to the currently
running system.
Tunable Value Expression Changes
nproc (before) 2000 2000 Immed
(now) 4200 Default
kcmodule(1M)
is used to manage kernel modules. Kernel modules can be device drivers, kernel subsystems,