Check a WLM configuration
Workload Manager Library (libwlm.a)
#include <sys/wlm.h>
int wlm_check ( config)
char *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.
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.