Lists Workload Manager (WLM) configurations.
lswlmconf [ -r | -s | -c | -d Config ] [ -l ] [ -t TimeSpec ]
The lswlmconf command lists by default all WLM configurations and, using its flags, it is able to do the following:
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.
lswlmconfThe output to this command might look similar to the following:
standard template fvtrules fvtlimits fvtregul fvtdfct fvtsynt fvtthreads
lswlmconf -cThe output might look similar to the following:
fvtlimits
lswlmconf -sSince this example configuration contains no configuration sets, this command produces a message indicating that no matching configuration was found.
confsetcntrl -C confset1 standard
lswlmconf -sThe command now produces the following output:
confset1
confsetcntrl -d confset1 -a fvtlimits 1-5
First, remove the old time range, as follows (confsetcntrl accepts day names, as reported by locale day or locale abday commands):
confsetcntrl -d confset1 -r fvtlimits monday-friday
Then create the new time range, as follows:
confsetcntrl -d confset1 -a fvtlimits 1-5,8:00-12:00
confsetcntrl -d confset1 -a fvtregul 0
confsetcntrl -d confset1In this example, this command produces the following output:
fvtlimits: time = "1-5,8:00-12:00" fvtregul: time = "0" standard: time = "-"
confsetcntrl -C confset2 templateIn order change "confset2' so it will use the configuration "fvtsynt" every nigh, type:
confsetcntrl -d confset2 -a fvtsynt 18:00-10:00
lswlmconf -rIn this example, this produces the following output, (which demonstrates that in this example the list of regular configurations has not changed):
standard template fvtrules fvtlimits fvtregul fvtdfct fvtsynt fvtthreadsHowever, as expected, the list of configurations sets in this example has changed, as shown by the following command:
lswlmconf -sThis command produces the following output in this example:
confset1 confset2
lswlmconf -d confset2 -lIn this example, this command produces the following output:
confset2/fvtsyntYou can also show which configurations would be active at another time. To show which configurations would be active on Sunday at 9:00am, type:
lswlmconf -l -t 0,9:00This command produces the following output in this example:
standard template fvtrules fvtlimits fvtregul fvtdfct fvtsynt fvtthreads confset1/fvtregul confset2/fvtsyntIn order to display this information only for configuration sets, type:
lswlmconf -s -l -t 0,9:00This produces the following output in this example:
confset1/fvtregul confset2/fvtsynt
confsetcntrl -D confset2lswlmconf -s now produces the following output in this example:
confset1
wlmcheck -d confset1In this example, this produces the following output:
WLM 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/Shared
wlmcntrl -a -d confset1The command lswlmconf -c now produces the following output:
confset1The command lswlmconf -cl, which shows the active regular configuration, now produces the following output:
confset1/standard
The configurations or sets files are subdirectories of /etc/wlm.
The wlmcntrl command, confsetcntrl command.