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

Configuring a System
Reconfiguring the Kernel (HP-UX 11i Version 2)
Chapter 3 323
With a -P (Parse) option, the commands produce an output format
designed to be parsed by scripts or applications. This format is described
in “Parsing Command Output” on page 363. Scripts and applications
must parse this output format, because HP supports release-to-release
compatibility of output format only when the -P option is used.
The kernel configuration commands all use a common format for error,
warning, note, and progress messages. It is the same format used by the
Software Distributor package, and therefore already familiar to most
administrators.
ERROR: This is an error message. It explains why the requested
operation cannot complete.
WARNING: This is a warning message. The requested operation
completed, but not smoothly. A situation may exist that
needs correction.
NOTE: This is a note. It provides information about how the
operation completed, or other information of potential
interest to the administrator.
* This is a progress message. It displays the steps
completed during the operation.
Common Exit Status Codes
All of the kernel configuration commands exit with one of the status
codes in Table 3-13.
Common Security Constraints
Any user can run the kernel configuration commands to query
configuration information. However, access to configuration information
is subject to standard Unix file system permissions on the relevant files.
Superuser privileges are required to make any configuration changes.
Table 3-13 Exit Status Codes
0 Operation was successful.
1 The requested changes could not be applied to the currently
running system. They are being held and will be applied at next
boot.
2 The operation could not complete successfully.