HP-UX System Administrator's Guide: Configuration Management

# kconfig -e night /tmp/system.night
* The configuration 'night' has been exported to
'/tmp/system.night'.
Moving the file over to another machine, she imports the configuration there, using
the -V option to ensure that exactly the same kernel software is in use. Then she loads
the configuration. Something about the configuration can’t be changed immediately
— probably a tunable setting — so she has to reboot the machine. As intended, the
machine uses Fred’s night configuration when it comes back up.
# kconfig -C "Move nightly billing jobs here from Prophet" -iV night \
/tmp/system.night
* The configuration 'night' has been imported from
'/tmp/system.night'.
# kconfig -l night
ERROR: The requested changes could not be applied to the currently
running system, for the following reasons:
- Moving a module into or out of the 'static' state requires a
kernel rebuild.
* The configuration 'night' has been marked for use at next boot.
# shutdown -r
Kernel Configuration Quick Reference Tables
Table 10-11 Working with Kernel Configurations
CommandProcedure
Choose the configuration to boot...
kconfig [-f] -n configname
...before the reboot
1
boot configname
...at the boot loader prompt (Integrity)
hpux configname/vmunix
...at the boot loader prompt (HP 9000)
kconfig [-v]
List all kernel configurations
kconfig [-f] -s newname
Save the currently running configuration
kconfig -c src dest
Copy a saved configuration
kconfig -r old new
Rename a saved configuration
kconfig [-f] -d configname
Delete a saved configuration
kconfig [-f] -l configname
Load a saved configuration
kconfig -t configname "title"
Set the title of a configuration
1 If this option is used, there is no need to interrupt the boot process to select the new kernel configuration.
Kernel Configuration Quick Reference Tables 207