HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)

k
kcmodule(1M) kcmodule(1M)
depend The module inherited its state from another module that depends
on it.
required The module is in use because it is marked required.
best The module is in this state because it is the "best" state for this
module as specified by the module developer.
next_state The state of the module at next boot. This field is present only if
-c is not
specified.
next_cause This field indicates how the module was given its state for next boot. It has the
same values as
cause, above. This field is present only if
-c is not specified.
before_state The state of the module before the current change. This field is present only for
modules for which an immediate value change has been made during the current
invocation of
kcmodule.
before_cause The cause of the module state before the current change. This field is present
only for modules for which an immediate value change has been made during the
current invocation of
kcmodule.
capable This field will contain a space-separated list of the states that this module can
support. The states are listed in the table under "Arguments", above.
depend This field will produce a line in the output for each dependency this module has
on another module or interface. (There may be zero such lines.) Each line has
the form:
depend type name:version
where type is either interface or module, indicating the type of object;
name is the name of the interface or module; and version is the version number
of the interface or module on which this module depends.
exports This field will produce a line in the output for each interface exported by this
module. (There may be zero such lines.) Each line will contain the
interfacename:interfaceversion of an interface exported by this module.
The special field name
ALL may be specified to indicate that all defined fields should be included in the
output. The output may include fields not listed in this man page. The fields will be listed in unspecified
order.
Additional fields may be added in future releases or patches.
Default Output
When kcmodule is called with no options, it shows the optional kernel modules on the system, their
current state, the cause for including it in the configuration and special capabilities if any. If there are
changes that are being held for nextboot, they will be shown as well. The cause field will be empty for all
modules that are not included in the configuration. The special capabilities of kernel modules would be one
of:
loadable The module can be dynamically changed to the state loaded.
unloadable The module can be dynamically changed to the state unused.
auto-loadable The module supports the state auto.
The layout and content of the default output may change in future releases or patches of HP-UX. Scripts or
applications which need to parse the output of kcmodule must use the -P option for parsable output.
RETURN VALUE
kcmodule returns one of the following values:
0 kcmodule was successful. If -D was specified, this return value indicates that there are no module
state changes being held for next boot.
1 kcmodule was successful. However, there were changes requested to the currently running system
which cannot be applied until the system reboots. Therefore, all of the requested changes are being
held until next boot.
HP-UX 11i Version 2: December 2007 Update 3 Hewlett-Packard Company 425