Check a WLM configuration
Workload Manager Library (libwlm.a)
int wlm_check ( config)
The wlm_check subroutine checks the class definitions and the coherency of the assignment rules file(s) (syntax, existence of the classes, validity of user and group names, application path names, etc.) for the configuration whose name is passed as an argument.
If config is a null pointer or points to an empty string, wlm_check performs the checks on the configuration files, in the configuration pointed to by /etc/wlm/current.
|config||A pointer to a character string. This pointer should be:
If config is a null pointer or a pointer to a null string, the configuration files in the directory pointed to by /etc/wlm/current (active configuration) is checked for errors. Otherwise, the configuration files in directory /etc/wlm/<config_name> is checked.
Upon successful completion, a value of 0 is returned. If the wlm_checksubroutine is unsuccessful a non 0 value is returned.
For a list of the possible error codes returned by the WLM API functions, see the description of the header file sys/wlm.h.
The wlm.h header file.
System Management Concepts: Operating System and Devices, Chapter 13 Workload Manager, Automatic class Assignment.
The rules file.