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

HP-UX Handbook Rev 13.00 Page 20 (of 33)
Chapter 07 Kernel Configuration
October 29, 2013
kmpath invokes kcpath
config obsolete
kmadmin obsolete
kminstall obsolete
kmmodreg obsolete
kmsystem obsolete
kmupdate obsolete
Overview of changes
HPUX 11.23 & 11.31
Use kcweb to configure the kernel
Kernel configurations
Reconfigure the kernel
KC commands (kconfig) automatically update
the running kernel or relink it, if necessary
Use KC commands or kcweb to tune the
kernel; changes will be dynamic, if possible.
Use kconfig c to copy a kernel
configuration
Use kconfig to import a kernel configuration
System file is kept up to date automatically.
Use kconfig e to create a system file from a
saved configuration
Manage DLKMs using kcmodule or kcweb.
Metadata built into modules
Examples of changes
Task
HPU UX 11.11
HPUX 11.23 & 11.31
Tunables
List all tunables
kmtune (no options)
kctune
List all tunables detailed
kmtune -l
kctune -v
Query a tunable
kmtune -q maxuprc
kctune maxuprc
Set a tunable to value
kmtune -u s
maxuprc=512
kctune maxuprc=512
Increment tunable by value
kmtune -u -s
maxuprc+128
kctune maxuprc+=128
Set a value using a formula
kmtune -u -s
maxuprc=nproc/30
kctune
maxuprc=nproc/30
Set tunable to default value
kmtune -r maxuprc
kctune maxuprc=default
Set tunable to at least n
not possible
kctune maxuprc>=512
Hold for next boot
kmtune s maxuprc=512
kctune -h maxuprc=512
List values held for next boot
kmtune -d
kctune D
Set a tunable in a saved
configuration
not possible
kctune c
WeekendConfig
maxuprx=512