Starts or stops the Workload Manager.
wlmcntrl [ [ -a | -p ] [ -g ] [ -d Config_Dir ] [ -o | -q ]
wlmcntrl -u [ -S Superclass | -d Config_Dir ]
The wlmcntrl command stops, starts, updates or queries the state of Workload Manager (WLM). When starting or updating WLM, the WLM property files for the target configuration are pre-processed, and the data is loaded into the kernel. WLM can be started in two different modes:
The active mode is the normal operating mode of WLM.
The classes, their limits and shares are described respectively in the classes, limits, and shares files. The automatic assignment rules are taken from the rules file. The class properties files for the superclasses of the WLM configuration Config are located in the subdirectory /etc/wlm/Config. The class properties files for the subclasses of the superclass Super of the configuration Config are located in /etc/wlm/Config/Super. The standard configuration shipped with the operating system is in /etc/wlm/standard. The current configuration is the one in the directory pointed to by the symbolic link /etc/wlm/current.
When the -d Config_dir flag is not used, wlmcntrl uses the configuration files in the directory pointed to by the symbolic link /etc/wlm/current.
When the -d Config_dir flag is used, wlmcntrl uses the configuration files in /etc/wlm/Config_dir and updates the /etc/wlm/current symbolic link to point to /etc/wlm/Config_dir, making /etc/wlm/Config_dir the current configuration. This is the recommended way to make /etc/wlm/Config_dir the current configuration.
When updating WLM using the -u flag, an empty string can be passed as Config_dir with the -d flag:
wlmcntrl -u -d ""
will simply refresh (reload) the assignment rules of the current configuration into the kernel without reloading the class definitions. This can be useful when a prior activation of WLM detected that some application files could not be accessed. Once the system sdministrator has fixed the problems with either the rules or the files, this command can be used to reload only the rules.
Access Control: Starting, stopping, switching from active to passive mode (or vice-versa) and updating superclasses requires root privileges. Updating the subclasses of a given superclass requires only adminuser or admingroup privileges (subclass administrator). Any user can query the state of WLM.
The chclass command, lsclass command, mkclass command, and rmclass command.