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

Configuring a System
Reconfiguring the Kernel (HP-UX 11i Version 2)
Chapter 3364
CAUTION HP reserves the right to change the other output formats of these
commands at any time. HP will not support applications and scripts that
parse the output of these commands unless they use the -P option.
The -P option of each of these commands takes a list of field names,
identifying the fields that the application wants to have appear in the
output. The available field names are different for each command and
are documented in the manpages for the commands. The list is
comma-separated and cannot contain spaces. Examples are shown in the
sections above.
The output format consists of one line per field, containing the field
name, a single tab character (ASCII 9), the field value, and a newline
(ASCII 12). The fields are printed in the order requested for each item,
with empty lines between the items.
Some fields have multiple values. In these cases, there will be one line for
each value of the field, each starting with the field name in the manner
described.
Some fields do not have values under some circumstances. For example,
the “value at last boot” tunable field has no meaning for tunables in
a saved configuration. In these cases, no line will be printed for that field.
The special field name ALL can be used to retrieve all available data.
When this field name is used, the output may include fields that are not
listed in the manpage. The order of fields in the output is undefined.
Recovering from Errors
Occasionally kernel configuration changes are made that are
undesirable. Also, hardware failures and changes can ruin a previously
acceptable kernel configuration. HP-UX has several mechanisms
available to system administrators who need to recover from such issues.
They include the kernel configuration log file (described above); saved
configurations, including the automatically maintained backup
configuration; and fail-safe boot mode.