HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
k
kmadmin(1M) kmadmin(1M)
Depending on the type of module, information on the module’s character major number, block major
number and flags may also be printed.
-Q module_name
Same as -q module_id, except the module(s) for which status information is to be reported is
specified by module_name rather than module_id.
-s Print an abbreviated status for all modules currently registered or loaded. This option returns a
listing of module name, module id, status and type.
Example:
Name ID Status Type
===========================================
hello 1 UNLOADED Misc
misato 2 UNLOADED WSIO
stape 3 UNLOADED WSIO
-S
Print the full status for all modules currently loaded. This option returns status information of
the form returned by the -q options.
DIAGNOSTICS
kmadmin fails in the following cases:
kmadmin: Incorrect usage
Command line input contained one or more syntax errors. See the SYNOPSIS section for the correct
usage.
kmadmin: module_id: Invalid argument
Unable to load the module corresponding to module_id because the module does not exist.
kmadmin : Device busy
Unable to load a module because the module is currently in-use.
kmadmin : Non-numeric ID string: string
Unable to unload or obtain status for a module because the module_id string specified a non-numeric
value.
kmadmin: modstat: Invalid argument
Unable to obtain status for module, module_id, because the module does not exist.
kmadmin: Module: module_name, not found
Unable to obtain status for module because the module is currently not registered.
FILES
/stand/dlkm/mod.d/*
Default search path for kernel modules when
/stand/vmunix is the running kernel.
/stand/dlkm. current.vmunix/mod.d/* Default search path for kernel modules when
/stand/current.vmunix is the running kernel.
SEE ALSO
config(1M), kmmodreg(1M), kmtune(1M), modload(2), modpath(2), modstat(2), moduload(2), loadmods(4).
Section 1M−−400 Hewlett-Packard Company − 3 − HP-UX 11i Version 1: September 2005