Validates a tunable file.
The tuncheck command validates a tunable file. All tunables listed in the specified file are checked for range and dependencies. If a problem is detected, a warning is issued.
Additionally, warnings are issued if Filename contains unknown stanzas, or unknown tunables in a known stanza. However, that does not make the checking fail.
Upon success, the AIX_level, Kernel_type and Last_validation fields in the info stanza of the checked file are updated.
Item | Description |
---|---|
-f Filename | Specifies the name of the tunable file to be checked. If it does not contain the '/' (forward slash) character, the name is relative to /etc/tunables. |
-p | Checks Filename in both current and boot contexts. This is equivalent to running tuncheck twice, one time without any flag and one time with the -r flag. |
-r | Checks Filename in a boot context. |
If -p or -r are not specified, Filename is checked according to the current context.
Item | Description |
---|---|
Dynamic | Can be changed at any time. |
Static | Can never be changed |
Reboot | Can only be changed during the reboot sequence |
Bosboot | Can only be changed by running bosboot and rebooting the machine |
Mount | Changes made are only effective for future filesystems or directory mountings |
Incremental | Can only be incremented, except at boot time. |
Connect | Changes are only effective for future socket connections. |
tuncheck -f ./mytunable
tuncheck -r -f nextboot
tuncheck -p -f nextboot
Item | Description |
---|---|
/usr/sbin/tuncheck | Contains the tuncheck command. |
/etc/tunables | Contains all the tunable files. |