Loads a Workload Manager (WLM) configuration into the kernel.
Workload Manager Library (libwlm.a)
#include <sys/wlm.h>
int wlm_set ( flags)
int *flags;
The wlm_set subroutine is used to set, change, or query the mode
of operations of WLM. The state of WLM can be:
OFF | Does not classify processes, monitor or regulate resource utilization. |
ON in passive mode | Classifies the processes and monitors their resource usage but does no regulation. |
ON in active mode | Specifies the normal operating mode where WLM classifies processes, monitors and regulates the resource usage. |
All combinations of the flags above are not legal:
Upon successful completion, the wlm_set subroutine returns a value of 0, and the current state of WLM is returned in the integer pointed to by flags. The return value is WLM_OFF, WLM_ACTIVE, or WLM_PASSIVE. When WLM is on in either active or passive mode, the WLM_BIND_RSETS flag is added when WLM uses resource sets bindings.
For a list of the possible error codes returned by the WLM API functions, see the description of the wlm.h header file.
The wlmcntrl command.
The wlm.h header file.
The wlm_load (wlm_load Subroutine) subroutine.