tuneinfo2.2 (2010 09)
t
tuneinfo2(2) tuneinfo2(2)
}
/* 3. Query the data: */
count = tuneinfo2(TUNEINFO_VERSION, NULL, buf, &bufsize);
if (count < 0) {
...
}
/* 4. Print the names of all tunables: */
for (i = 0; i < count; i++) {
char *name = TUNEINFO_STRING(&buf[i], ti_name);
puts(name);
}
WARNINGS
Applications and application modules must not share tuneinfo2_t
structures unless it is certain that
the value of
TUNEINFO_VERSION
, specified in the
<sys/dyntune.h> header file, is the same for all
modules and involved. The value of
TUNEINFO_VERSION
may be changed without notice.
AUTHOR
tuneinfo2() was developed by Hewlett-Packard Company.
SEE ALSO
kctune(1M), gettune(2), settune(2).
The individual tunable parameter manpages in section 5.
HP-UX 11i Version 3: September 2010 − 3 − Hewlett-Packard Company 3