asoo Command
Purpose
Manages the tunable parameters of the active system optimizer (ASO).
Syntax
asoo [-p|-r [-K]] [-y] {-o Tunable [=Newvalue]}
asoo [-p|-r [-K]] [-y] {-d Tunable }
asoo [-h] [Tunable]
Description
The asoo command is used to configure the ASO tunable parameters. This command sets or displays the current or next boot values for all ASO tunable parameters. It also makes permanent changes or defers changes until the next reboot operation.
Whether the command sets or displays a parameter is determined by the accompanying flag. The -o flag performs both actions. It can either display the value of a parameter or set a new value for a parameter.
Before changing any tunable parameter, first carefully read about all the tunable parameter characteristics in the Tunable Parameters section , and follow any Refer To pointer to fully understand its purpose. You must then ensure that the Diagnosis and Tuning sections for this parameter actually apply to your situation and that changing the value of this parameter could help improve the performance of your system. If the Diagnosis and Tuning sections both contain only N/A, do not change this parameter unless specifically directed by the AIX.
Flags
Item | Description |
---|---|
-a | Displays current value, reboot value (when used with the -r option), Live Update value (when used with the -K option), or permanent values for all tunable parameters (when used with the -p option), one per line in pairs Tunable = Value. For the permanent options, a value only displays for a parameter if its reboot and current values are equal. Otherwise, it displays NONE as the value. |
-d Tunable | Resets the Tunable parameters to its default value. If a Tunable
parameter, which must be changed because it is not set to its default value, meets one or more of
the following sets of criteria, a warning message is displayed and no change is made to the parameter:
|
-D | Resets all Tunable parameters to their default values. If
Tunables that need to be changed because they are not set to their default values meet one or
more of the following sets of criteria, a warning message is displayed and no change is made:
|
-F | Forces display of the restricted tunable parameters when the -a, -L, and -x options are specified alone on the command line to list all tunable parameters. When the -F flag is not specified, restricted tunable parameters are not displayed, unless these restricted tunable parameters are specifically named with a display option. |
-h Tunable | Displays help about the tunable parameter if the parameter is specified. Otherwise, displays the asoo command usage statement. |
-K | Sets the tunable parameter value in both
/etc/tunables/nextboot and /etc/tunables/nextliveupdate
files. The -K flag can be used only with the -r flag.
When you specify the -K flag with the -r and -d (or -D) flags, the tunable parameter value is set to its default value in the /etc/tunables/nextboot and /etc/tunables/nextliveupdate files to be used during the next boot or Live Update operations. When you specify the -K flag with the -L or -x flag, the asoo command displays the Live Update values. |
-L Tunable | Lists the characteristics of one or all tunable parameters, one per line,
using the following format. If you specify the -K flag with the
-L flag, the Live Update values are also
displayed.
|
-o Tunable=[NewValue] | Displays or sets the value of a tunable parameter to a new value. The /etc/tunables/usermodified file is updated with the new
tunable parameter value whenever you use the -o flag to change the value of a
dynamic tunable. If a tunable parameter that you want to change meets one or more of the
following sets of criteria, a warning message is displayed and no change is made to the parameter:
When you specify the -r flag with the -o flag without specifying a new value,
the next boot value for tunable is displayed. When you specify the -K flag
with the -o flag without specifying a new value, the value of tunable parameter of type
Live Update in the nextliveupdate file is displayed. When you
specify the -p flag with the -o flag without specifying a new value, a value is
displayed only if the current and next boot values for the tunable are the same. Otherwise,
|
-p | When the -p option is used in combination without a new value, a value is displayed only if the current and next boot values for tunable parameter are the same. Otherwise, it displays NONE as the value. When used in combination with the -o, -d, or -D options, this flag applies changes to both the current and reboot values. That is, this flag turns on the updating function of the /etc/tunables/nextboot file in addition to turning on the updating function of the current value. These combinations cannot be used on the Reboot and Bosboot type parameters because their current value cannot be changed. When used with the -a or -o options without specifying a new value, values are displayed only if the current and next boot values for a parameter are the same. Otherwise, it displays NONE as the value. |
-r | When the -r option is used in combination with the -o, -d, or -D options, this flag applies changes to the reboot values, for example, turns on the updating function of the /etc/tunables/nextboot file. If any parameter of type Bosboot is changed, you are prompted to run the bosboot command. When used with the -a or the -o flags without specifying a new value, next boot values for tunable parameters are displayed instead of current values. When used with the -K flag, changes apply to both the /etc/tunables/nextboot and /etc/tunables/nextliveupdate files. |
-x [Tunable] | Lists characteristics of one or all tunable parameter, one per line, by using
the following (spreadsheet) format. If you specify the -K flag with the
-x flag, the Live Update values are also
displayed.
|
-y | Suppresses the confirmation prompt before running the bosboot command. |
Tunable Parameters Type
All the tunable parameters that are manipulated by the tuning commands (no, nfso, vmo, ioo, schedo, raso, and asoo) are classified into the following categories:
Item | Description |
---|---|
Dynamic | The parameter can be changed at any time. |
Static | The parameter can never be changed. |
Reboot | The parameter can only be changed a during reboot operation. |
Bosboot | The parameter can only be changed by running the bosboot command, and rebooting the system. |
Mount | Changes to the parameter are only effective for future file systems or directory mounts. |
Incremental | The parameter can only be incremented at boot time. |
Connect | Changes to the parameter are only effective for future socket connections. |
Deprecated | Changes to this parameter are no longer supported by the current release of AIX. |
For parameters of the Bosboot type, whenever a change is performed, the tuning commands automatically prompt you to determine whether you want to run the bosboot command. For parameters of the Connect type, the tuning commands automatically restarts the inetd daemon.
Tunable Parameters
For default values and range of values for tunable parameters, see the help information for the asoo command (-h<tunable_parameter_name>).
Item | Description |
---|---|
aso_active |
|
debug_level |
|
Security
Attention RBAC users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, ee the lssecattr command or the getcmdattr subcommand.
Examples
- To list the current and reboot values, the range, the unit, the
type, and dependencies of all the tunable parameters that are managed
by the asoo command, enter:
asoo -L
- To list (spreadsheet format) the current and reboot values, the
range, the unit, the type, and dependencies of all the tunable parameters
that are managed by the asoo command, enter:
asoo -x
- To reset the aso_active tunable parameter to the default,
enter:
asoo -d aso_active
- To display help information for the aso_active tunable
parameter, enter:
asoo -h aso_active
- To permanently reset all the asoo tunable parameters to
the default, enter:
asoo -p -D
- To list the reboot value for all the asoo parameters, enter:
asoo -r -a