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

lsclass Command

Purpose

List Workload Management classes and their limits.

Syntax

lsclass [-C | -f] [-d Config_dir]  [ Class ]

Description

With no argument, this command returns the list of classes, one per line. With a class name as argument, it prints the class name, followed by the list of its attributes.

Flags

-C Displays the class attributes and limits in colon-separated records, as follows:
lsclass -c myclass
#name:tier:CPUmin:CPUshares:CPUmax:memorymin:memoryshares:memorymax
myclass:2:20:50:100:25:55:90
-f Displays the output in stanzas, with each stanza identified by a class name. Each Attribute=Value pair is listed on a separate line:
Class:
       attribute1=value
       attribute2=value
       attribute3=value
-d Config_dir Use /etc/wlm/Config_dir as alternate directory for the definition files. If this flag is not present, the current configuration files in the directory pointed to by /etc/wlm/current are used.

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 limits enforced on the classes for the current workload management configuration.
/etc/wlm/current/shares Contains the resource shares attributes for each class of the current workload management configuration.
/etc/wlm/current/description Contains the class description text for each class of the current workload management configuration.

Related Information

The wlmcntrl, chclass, mkclass and rmclass commands.


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