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

Configuring a System
Reconfiguring the Kernel (HP-UX 11i Version 2)
Chapter 3 321
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” on page 364.
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 3-12 lists the options shared by the kernel configuration
commands.
Table 3-12 Options Shared by Kernel Configuration Commands
Option Description
k
c
o
n
f
i
g
k
c
m
o
d
u
l
e
k
c
t
u
n
e
k
c
l
o
g
-a (all) Include information in the output that is normally omitted
for brevity.
ooo
-B (Backup) Back up the currently running configuration before
changing it.
ooo
-c (configuration) Specify the saved configuration to manage. If
omitted, manage the currently running configuration.
ooo
-C (Comment) Include a comment in the kernel configuration log
file entry associated with this command invocation.
oooo
-d (description) Display descriptions of each item. o o