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

Configuring a System
Reconfiguring the Kernel (Prior to HP-UX 11i Version 2)
Chapter 3310
Step 2. To unload a dynamically configured loadable module by ID number,
execute this kmadmin command:
/usr/sbin/kmadmin -u module_id
How to determine
which modules are
currently loaded
Use the -S or -s option of the kmadmin command to view detailed
information about all current registered DLKM modules.
Step 1. To print the full status for all dynamically configured loadable modules
currently registered, execute this kmadmin command:
/usr/sbin/kmadmin -S
Step 2. To print the brief status for all dynamically configured loadable modules
currently loaded, execute this kmadmin command:
/usr/sbin/kmadmin -s
Step 3. To print a list of all statically configured modules, execute the following
kmadmin command:
/usr/sbin/kmadmin -k
How to obtain
information about
a loaded module
Use the -Q or -q option of the kmadmin command to view detailed
information about the DLKM module. For a DLKM module configured as
dynamically loadable, you have the choice of displaying information for
the module by its name or ID number.
Step 1. To display a dynamically configured loadable module’s status by name,
execute this kmadmin command:
/usr/sbin/kmadmin -Q module_name
Step 2. To display a dynamically configured loadable module’s status by ID,
execute the following kmadmin command:
/usr/sbin/kmadmin -q module_id
Depending on the type of module, information on the module’s block
major number, character major number, and flags may also be printed.
Information returned by the -Q and -q options includes:
the module’s name
the module’s ID