HP-UX 11i June 2002 Release Notes

Process, Threads, Memory, and Kernel Parameters
Dynamic Tunables
Chapter 10
187
Dynamic Tunables
new at 11i
original release
A new facility has been added which will allow the retrieving of all tunable values and
the setting of a limited number of tunables. If a tunable is dynamic, a change will take
place immediately, without the need to reboot the system. Such changes will persist
across reboots.
Three parts of the system have been changed to allow retrieving and setting of dynamic
tunable values:
System Administration Manager (SAM). For details, see Changes to System
Administration Manager (SAM) on page 168 in this document and the SAM Online
Help Facility.
kmtune. This command has been enhanced to allow the changing of dynamic
tunables. See the kmtune (1M) manpage for further details.
Three new system calls have been added: gettune, settune, and tuneinfo. For the
function and use of each of these system calls, see their manpages: gettune (2),
settune (2) and tuneinfo (2).
Currently, the following tunables are dynamic:
maxuprc - maximum number of user processes
msgmax - message maximum size in bytes
msgmnb - maximum number of bytes on a message queue
shmmax - maximum shared memory segment size in bytes
shmseg - shared memory segments per process
maxtsiz - maximum text segment size in bytes for 32-bit programs
maxtsiz_64bit- maximum text segment size in bytes for 64-bit programs
maxfiles_lim - hard file limit per process
core_addshmem_read - include readable shared memory in process core dump
core_addshmem_write - include writable shared memory in process core dump
For more information, see the white paper Dynamically Tunable Kernel Parameters in
HP-UX 11i at http://docs.hp.com.