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

Configuring a System
Reconfiguring the Kernel (HP-UX 11i Version 2)
Chapter 3 353
Getting Information about Saved Configurations
When you run kconfig with no options, it shows you the saved
configurations on your system. There will always be a saved
configuration called backup, which is automatically maintained by the
system; any other saved configurations on the system will also be listed.
(For more information on the backup configuration, see “Recovering from
Errors” on page 364.)
The output of kconfig can be varied with several options. The output
can be restricted to specific configurations by listing them on the
command line.
To control the output format, use the -a (all), -v (verbose) or -P (Parse)
options. Without these options, the output looks like this:
Configuration Title
backup Automatic Backup
day Configuration for daytime multiuser processing
night Configuration for nighttime batch processing
The -v option gives verbose, multiline information about each saved
configuration:
Configuration backup
Title Automatic Backup
Save Time Sun Jan 12 07:46:40 2003
Modify Time Sun Jan 12 07:46:40 2003
Configuration day
Title Configuration for daytime multiuser processing
Save Time Sun Jan 12 07:49:00 2003
Modify Time Sun Jan 12 07:49:00 2003
Configuration night
Title Configuration for nighttime batch processing
Save Time Sun Jan 12 07:52:12 2003
Modify Time Sun Jan 12 07:52:12 2003
The -a option gives the same output as the -v option, except that after
each saved configuration, the entire outputs of “kcmodule -a -v” and
kctune -v” for that configuration are displayed. This gives a record of
all settings in the configuration (except device bindings).
The -P option, which is designed for use by scripts or programs, gives
complete control over what information is printed: