HP-UX System Administrator's Guide: Configuration Management

Getting Information About Tunables
When you run kctune with no options, it shows you the tunables associated with the
kernel modules on your system (as well as any user-defined tunables), their current
values, and the expressions used to compute those values. If there are changes to those
values being held for next boot, those will be shown as well. On a typical system, the
expression for most tunables is Default, meaning that the administrator is allowing
the system to choose the tunable value.
When you use the -c (configuration) option, kctune displays the tunable information
from a saved configuration instead of the currently running system.
The output of kctune can be varied with several options. To control which tunables
are listed, use the -D (differences) or -S (set) option. The -D option restricts the output
to only those tunables whose value at next boot is different from their current value.
The -S option restricts the output to only those tunables that are set to a nondefault
value. The output can also be restricted by listing tunable names on the command line.
To control the output format, use the -d (description), -g (group), -v (verbose), or -P
(parse) option.
With No Options With no options, the output looks like this:
# kctune acctresume maxuprc nproc
Tunable Value Expression Changes
acctresume 4 Default
maxuprc 256 Default Immed
nproc 4200 Default Immed
With the -d Option The -d option adds the description of each tunable:
# kctune -d acctresume maxuprc nproc
Tunable Value Expression Changes
Description
acctresume 4 Default
Relative percentage of free disk space required to resume accounting
maxuprc 256 Default Immed
Maximum number of processes for each non-root user
nproc 4200 Default Immed
Maximum number of processes on the system
With the -g Option The -g option adds the name of the module defining the tunable,
and sorts the output by module name. This has the effect of grouping related tunables
together in the output.
# kctune -g acctresume maxuprc nproc
Module Tunable Value Expression Changes
pm_acct acctresume 4 Default
pm_proc maxuprc 256 Default Immed
pm_proc nproc 4200 Default Immed
With the -v Option The -v option gives verbose, multiline information about each
tunable:
# kctune -v acctresume maxuprc nproc
Tunable acctresume
Description Relative percentage of free disk space required to resume accounting
Managing Kernel Tunable Parameters with kctune 171