HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)

k
kctune(1M) kctune(1M)
kctune example=Default
will set the tunable’s value to 4000, and automatically change it whenever the default value is re-computed.
Developer’s Note
The layout and content of kctune’s output may change without notice, except when
-P fields is specified.
Scripts or applications that need to parse the output of
kctune are expected to use the -P fields option.
See kconfig(5) for details.
The fields supported in a
kctune request are:
name The name of the tunable.
module The name of the module supplying the tunable, if any; otherwise, this field will be
omitted from the output.
desc A short description of the tunable.
defvalue The default value of the tunable, if known. (For saved configurations, the default
values of some tunables may not be known until the configuration is in use.)
bootvalue The value of the tunable at the time the system last booted.
current The current value of the tunable, if known. (For saved configurations, the current
value of some tunables may not be known until the configuration is in use.) If the
value was specified using an expression, this field contains the result of evaluating
that expression. If the tunable is being automatically tuned, this field contains the
value the kernel is currently using.
next_boot The value that will be used for the tunable at next boot, if known. (The next boot
value of some tunables may not be known until the boot completes.) If the value was
specified using an expression, this field contains the result of evaluating that expres-
sion. This field is not printed for saved configurations.
before The value that was in use for the tunable before the change that was just made, if
known. (For saved configurations, the previous value of some tunables may not be
known.) If the value was specified using an expression, this field contains the result of
evaluating that expression. This field is present only for tunables for which an
immediate value change has been made during the current invocation of kctune.
expr The expression used to set the value of the tunable, if any. If the tunable is set to
default, this field contains the word Default.
next_expr The expression for the tunable’s value at next boot, if any. If the tunable is set to
default, this field contains the word Default.If-c is specified, this field is omitted
from the output.
before_expr The expression for the tunable’s value before the change that was just made, if any. If
the tunable was set to default, this field contains the word Default. This field is
present only for tunables for which an immediate value change has been made during
the current invocation of kctune.
min The minimum value of the tunable. This is an absolute minimum; the currently run-
ning system may not be able to support values this low. If there is no minimum
value, this field will be omitted from the output.
max The maximum value of the tunable. This is an absolute maximum; the currently run-
ning system may not be able to support values this high. If there is no maximum
value, this field will be omitted from the output.
dynamic This field contains a ’y if the tunable can be changed without a reboot, or an ’n other-
wise.
canauto This field contains a ’y if the tunable is capable of being automatically tuned, or an n
otherwise.
auto_default This field contains a ’y if the tunable’s default value is automatically computed by the
system (and can therefore change over time), or an ’n otherwise.
default This field contains a ’y if the tunable is set to its default value, or an ’n otherwise. If
all three of default, auto_default , and canauto are y’, the tunable is being
automatically tuned.
434 Hewlett-Packard Company 3 HP-UX 11i Version 2: December 2007 Update