HP-UX HB v13.00 Ch-07 - Kernel Configuration
HP-UX Handbook – Rev 13.00 Page 13 (of 33)
Chapter 07 Kernel Configuration
October 29, 2013
kmtune(1M)
Displays/modifies/resets system tunables. kmtune simply modifies the system file.
# kmtune -q nproc
Parameter Current Dyn Planned Module Version
=======================================================================
nproc 2068 - 2068
# kmtune -s nproc=3000
# kmtune -q nproc
Parameter Current Dyn Planned Module Version
========================================================================
nproc 2068 - 3000
# grep nproc /stand/system
nproc 3000
# kmtune -s nproc+1000
# kmtune -q nproc
Parameter Current Dyn Planned Module Version
=======================================================================
nproc 2068 - 4000
# kmtune -r nproc
# kmtune -q nproc
Parameter Current Dyn Planned Module Version
=======================================================================
nproc 2068 - (20+8*MAXUSERS)
# grep nproc /stand/system
Refer to kmtune(1M) man page for details.
kmadmin(1M)
Loads/unloads a DLKM to/from the running kernel. Displays status information of modules.
kmadmin –L module_name ...| path_name ...
kmadmin –U module_name ...
kmadmin –u module_id ...
kmadmin –Q module_name ...
kmadmin –q module_id ...
kmadmin –S | -s
kmadmin –k
kmadmin –d directory_name | -D
-L (load) Loads the module(s) to the running kernel. path_name is the complete path to
the source code file (mod.o) of the module.
-U (unload) Unloads the module(s) from the running kernel.
-u (unload) Same as –U (needs module-ID as input)
Note: kmadmin –u 0 unloads all modules.
-Q (query) Displays status information of the module.
-q (query) Same as -Q (needs module-ID as input).