Create a Workload Management class.
mkclass [ -a Attribute=Value ... ] [ -c | -m | -b KeyWord=Value ] [ -d Config_Dir ] [ -S SuperClass ] Name
The mkclass command creates a superclass or a subclass identified by the Name parameter. The class must not already exist. The Name parameter can contain only upper and lower case letters, numbers and underscores. The name is in the format supername or subname (with the -S supername flag) or supername.subname. Supername and subname are each limited to 16 characters in length. The names Default, System, and Shared are reserved. They refer to predefined classes. Any Attribute=Value or KeyWord=Value argument initialise the specified attribute or resource limit. See chclass for more information.
Normally, mkclass adds the class and its attributes in the relevant WLM property files, and the modifications is applied to the in-core class definitions (active classes) only after an update of WLM using the wlmcntrl command.
If an empty string is passed as the configuration name (Config_dir) with the -d flag, the class is created only in the WLM in-core data structures, and no property file is updated, making the new class temporary (the change is lost if WLM is stopped and restarted or the system is rebooted).
|-d Config_Dir||Use /etc/wlm/Config_Dir as an alternate directory for the properties files. When this flag is not used, mkclass uses the configuration files in the directory pointed to by /etc/wlm/current. If an empty string is passed as the configuration name (-d "") the new class is created only in the WLM in-core data structures and no configuration file is modified.|
|-S SuperClass||Specifies the name of the superclass when creating a subclass.
There are two ways of creating the subclass Sub of superclass
Access control: Only the root user can create a superclass. Only root or authorized users whose user ID or group ID matches the user name or group name specified in the attributes adminuser and admingroup of a superclass can create a subclass of this superclass.
|classes||Contains the names and definitions of the classes.|
|limits||Contains the resource limits enforced each class.|
|shares||Contains the resource shares attributed to each class.|
The wlmcntrl command, lsclass command, chclass command, and rmclass command.