HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)
k
kconfig(1M) kconfig(1M)
NAME
kconfig - manage kernel configurations
SYNOPSIS
kconfig -DSw
kconfig [-av][-P fields][config...]
kconfig -c [-C comment] src dest
kconfig -d [-C comment] config
kconfig -e [-C comment][config] filename
kconfig -H [-C comment]
kconfig -i [-C comment][
-fhBKV][config] filename
kconfig -l [-C comment][
-fBK] config
kconfig -n [-C comment][-fBK
] config
kconfig -r [-C comment] old new
kconfig -s [-C comment][-f
] config
kconfig -t [-C comment] config title
DESCRIPTION
kconfig is the administrative command for HP-UX kernel configurations. In the first form,
kconfig
will give summary information about the currently running kernel configuration. In the second form,
kconfig will give information about saved kernel configurations. (If configuration names are listed on
the command line, the output is restricted to those configurations.) In the other forms, kconfig
sup-
ports various administrative tasks on kernel configurations. See kconfig(5) for more information about
kernel configurations.
Super-user permissions are required when specifying the
-c, -d, -H, -i, -l
, -n, -N, -r, -s,or-t
options.
Options
-a Includes detailed information about each kernel configuration in the output listing (see
-v, below). In addition, the information about each configuration will be followed by the
outputs of:
kcmodule -a -v
kctune -v
for the configuration, so as to include all configuration data. (Note: if additional
configuration data are available in future releases of HP-UX, they will be included as
well.)
-B Forces a backup of the currently running configuration before making the requested
change. For more information on backup configurations, see kconfig(5).
-c src dest kconfig will make a copy of the saved kernel configuration named src. The copy will
be named dest. dest may not already exist.
-C comment The specified comment will be included in the kernel configuration log file entry made for
this invocation of kconfig. For more details on the kernel configuration log file, see
kclog(1M). Note that it will usually be necessary to quote the comment in order to avoid
interpretation by the shell.
-d config kconfig will delete the saved kernel configuration named config, and any files associ-
ated with it. (Some files are shared between saved configurations; these files are not
deleted until all of the saved configurations using them have been deleted.)
-D kconfig will display all changes to the current kernel configuration that are being held
for next boot. In other words, it will execute
kcmodule -D
kctune -D
(If any additional kernel configuration data become available in future HP-UX releases,
changes to them will be included as well.) The return value of kconfig will be 1 if
there are any such changes; see RETURN VALUE, below. Not valid in combination with
any other flags.
-e [config] filename
kconfig will export the saved kernel configuration named config to a system file named
Section 1M−−342 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: August 2003