[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Commands Reference, Volume 3

mkclass Command

Purpose

Create a Workload Management class.

Syntax

mkclass [-a Attribute=Value  ...  ] [-d Config_dir] Name

Description

The mkclass command creates a class 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 names are limited to 16 characters in length. The names Default and System are reserved. They refer to predefined classes. Any Attribute=Value argument will initialise the specified attribute. See chclass for more information.

Flags

-d /etc/wlm/Config_dir Use  /etc/wlm/Config_dir as an alternate directory for the properties files. When this option is not used, mkclass uses the configuration files in the directory pointed to by /etc/wlm/current.

Files

/etc/wlm/current/classes Contains the names and definitions of the classes for the current workload management configuration.
/etc/wlm/current/limits Contains the resource limits enforced each class of the current workload management configuration.
/etc/wlm/current/shares Contains the resource shares attributed to each class of the current workload management.
/etc/wlm/current/description Contains the class description text for each class of the current workload management configuration.

Related Information

The wlmcntrl, lsclass, chclass, and the rmclass commands.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]