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 3312
How To Query and
Tune the System
Parameters for a
Statically
Configured
Loadable Module
Present in the
Static Kernel
Use the kmtune command to query, set, or reset system (tunable)
parameters used by the DLKM module or the static kernel. kmtune reads
the master configuration files, the system description files, and the
HP-UX system file.
For a Modularly packaged module or a Traditionally packaged module
using 11.0 module packaging, kmtune writes any user-modified system
parameter to the module’s system description file. For a Traditionally
packaged module using pre-11.0 module packaging, kmtune writes any
user-modified system parameter to the HP-UX system file.
To query the value of a specific system parameter, do the following:
Step 1. Execute this kmtune command:
/usr/sbin/kmtune -q
system_parameter_name
Step 2. To set the value of a specific system parameter, execute this kmtune
command:
/usr/sbin/kmtune -s
system_parameter_name=value
Step 3. To reset the value of a system parameter to its default value, execute this
kmtune command:
/usr/sbin/kmtune -r
system_parameter_name
At this point you have set the values of system parameters that will take
effect after the next whole HP-UX kernel configuration, update and
system reboot (see procedures below).
How to Configure
the HP-UX Kernel
to Include a
Statically
Configured
Loadable Module
You can use the config command to configure a DLKM module into the
system as either dynamically loadable or statically configured. Use this
procedure to statically link the he DLKM module to a new kernel.
To configure the HP-UX kernel to include a statically configured loadable
module, do the following:
Step 1. Execute this config command:
/usr/sbin/config -u /stand/system
config builds a new kernel. The -u option forces config to call the
kmupdate command, which causes the system to perform the following
actions when you shutdown and restart the system: