HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)
k
kmtune(1M) kmtune(1M)
Notes
Changing kernel parameters dynamically is a fairly new feature. Programs using pstat(2), getrlimit(2), or
sysconf(2) may have been written with the previously correct assumption that the returned values do not
vary while the system is running. The use of
kmtune to modify the running kernel may cause such pro-
grams to produce erroneous results or even abort.
Some dynamic kernel parameters can be raised dynamically, but cannot be lowered without rebuilding the
kernel and rebooting. See the manual pages for those parameters for details.
When dynamically lowering per-process limits, processes that exceed the new limit will be "grandfathered".
Such processes will retain the old limit. The old limit will also apply to any child processes they create
after the change. Some parameters have exceptions to this general policy; see the manual pages for those
parameters for details.
It is possible to put multiple
-s and
-r options on a single kmtune command. kmtune will try to make
all of the changes, in the order listed. If an error occurs with one of the changes, the state of the other
changes is not defined.
RETURN VALUE
Upon completion,
kmtune returns with one of the following exit values:
0 Successful.
1 Changes have been made and will take effect at next boot.
2 An error occurred.
Results of query requests are sent to stdout. Error and warning messages are sent to stderr.
FILES
/var/adm/kc.log Log of all kernel configuration changes
SEE ALSO
kclog(1M), kconfig(5), kctune(1M), settune(2), tuneinfo2(2), and the individual tunable parameter manual
pages in section 5.
HP-UX 11i Version 2: December 2007 Update − 2 − Hewlett-Packard Company 447