HP-UX Reference (11i v2 07/12) - 2 System Calls (vol 5)
s
settune(2) settune(2)
[EPERM] The caller does not have the
SYSATTR privilege.
[EINVAL] The specified value is not within the acceptable range for the specified parameter.
[EBUSY] The value of the parameter could not be changed immediately.
[ENOTSUP] The specified parameter cannot be changed without rebooting the kernel and
STF_NOPENDING flag was specified.
[EIO] The Kernel Registry Service was unavailable or encountered an error.
[ENOMEM] Insufficient memory to accommodate the new parameter value.
WARNINGS
The caller must have the SYSATTR privilege to use this call.
It is possible to seriously degrade system performance, or even render a system unbootable, with incorrect
tunable settings. Use care when setting tunable values. Always have a known working kernel
configuration saved as a backup; if the system fails to boot after a tunable change, boot from that backup
kernel configuration. Keep good records of all tunable changes so that they can be reversed if they degrade
system performance. (Tunable changes made with settune() are automatically logged to
syslog.)
If the tunable being changed through settune(2) is used in expressions that set the values of other tunables,
those expressions will not be re-evaluated and those tunable values will not be updated. If expression
evaluation is desired, use kctune(1M) to set tunable values.
AUTHOR
settune() was developed by Hewlett-Packard Company.
SEE ALSO
kctune(1M), mk_kernel(1M), gettune(2), tuneinfo2(2), privileges(5).
Individual tunable parameter man pages in section 5.
388 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: December 2007 Update