Manage a set of time-based Workload Manager (WLM) configurations.
confsetcntrl -C ConfigurationSet DefaultConfig
confsetcntrl { -D | -R } ConfigurationSet
confsetcntrl [ -d ConfigurationSet ] { -a | -r } Configuration TimeRange
Time Ranges
Time ranges are used to indicate at which day of the week and which times of the day the associated configuration will be used by the WLM for classifying processes, for accounting, and regulation.
A time range is represented by a range of days, with 0 representing Sunday and 6 representing Saturday, and a range of time, in 24 hour format with hours and minutes specified. These two ranges are separated with a comma. In each range, values are separated with a minus sign, and values may wrap (the first value may be greater than the second one).
The range of days may be omitted, which means every day of the week. Both ends of this range are included. It may then also consist in only one day: 1 is valid and stands for 1-1.
The range of time may be omitted, which means the whole day. Elsewhere, start and end times must be specified. Hours and minutes are separated with a colon or a dot. The end time is not part of the range, so 24:00 is a valid end time but 12:00-12:00 is empty and not valid.
At least one of the day or time ranges must be present. A single minus sign is a valid time range and is a special case: It is called the default time range and means always outside the other defined time ranges if any. This is different from specifying all the time, for example with 0-6,00:00-24:00
For the WLM to be able to find which configuration must be activated, there must exist one and only one configuration applicable at any time of the week. The default time range, which is added when creating a set, is useful to avoid the possibility that no configuration would be applicable for some time. Additional time ranges must not overlap with each other.
| Item | Description | 
|---|---|
| -a Configuration TimeRange | Adds Configuration to the configuration
set for the given TimeRange. Configuration must be an
existing WLM regular configuration. It may appear several times in
a set associated with different time ranges. Note: Even if time ranges
become not coherent due to this operation, the changes are performed,
but a warning is reported indicating that further changes are needed. | 
| -c | Checks all the configuration/time range pairs of the set. | 
| -C ConfigurationSet DefaultConfig | Creates configuration set ConfigurationSet with DefaultConfig initial configuration, having default time range. (The default time range means always outside any other explicit time range. Only one is allowed in a set.) DefaultConfig must be an existing WLM regular configuration. | 
| -d ConfigurationSet | Specifies an alternate configuration set. If not given, current configuration set will be the target of the command. | 
| -D ConfigurationSet | Deletes configuration set ConfigurationSet. | 
| -l | Checks and lists all the configuration/time range pairs of the set. This is the default operation if no flag is given. | 
| -r Configuration TimeRange | Removes the Configuration and TimeRange pair
from the configuration set. This pair is supposed to exist in the
set. Note: Even if time ranges become not coherent due to this operation,
the changes are performed, but a warning is reported indicating that
further changes are needed. | 
| -R ConfigurationSet | Erases configuration set ConfigurationSet (removes from ConfigurationSet all configuration/time range pairs). This operation is not recommended as the resulting configuration set state is not consistent and requires additional changes. | 
Attention RBAC users and Trusted AIX® 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, see the lssecattr command or the getcmdattr subcommand.
The following examples demonstrate how to display, change, and use WLM configurations using the lswlmconf command, the confsetcntrl command, the wlmcheck command, and the wlmcntrl command.
lswlmconfstandard
template
fvtrules
fvtlimits
fvtregul
fvtdfct
fvtsynt
fvtthreadslswlmconf -cfvtlimitslswlmconf -sconfsetcntrl -C confset1 standardlswlmconf -sconfset1confsetcntrl -d confset1 -a fvtlimits 1-5confsetcntrl -d confset1 -r fvtlimits monday-fridayconfsetcntrl -d confset1 -a fvtlimits 1-5,8:00-12:00confsetcntrl -d confset1 -a fvtregul 0confsetcntrl -d confset1fvtlimits:
        time = "1-5,8:00-12:00"
fvtregul:
        time = "0"
standard:
        time = "-"confsetcntrl -C confset2 templateconfsetcntrl -d confset2 -a fvtsynt 18:00-10:00lswlmconf -rstandard
template
fvtrules
fvtlimits
fvtregul
fvtdfct
fvtsynt
fvtthreadslswlmconf -sconfset1
confset2lswlmconf -d confset2 -lconfset2/fvtsyntlswlmconf -l -t 0,9:00standard
template
fvtrules
fvtlimits
fvtregul
fvtdfct
fvtsynt
fvtthreads
confset1/fvtregul
confset2/fvtsyntlswlmconf -s -l -t 0,9:00confset1/fvtregul
confset2/fvtsyntconfsetcntrl -D confset2confset1wlmcheck -d confset1WLM is not running.
Checking classes and rules for 'confset1' configuration...
fvtlimits/System
fvtlimits/Default
fvtlimits/Shared
fvtlimits/login
fvtregul/System
fvtregul/Default
fvtregul/Shared
standard/System
standard/Default
standard/Sharedwlmcntrl -a -d confset1confset1confset1/standardThe configuration set files reside in a subdirectory of /etc/wlm whose name is the set name.
| Item | Description | 
|---|---|
| .times | Contains the list of all the configuration/time range pairs of the set. | 
| description | Contains an optional description text of the set. |