[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
System Management Guide: Operating System and Devices

Command Line Interfaces

Defining WLM Properties

Load the WLM properties files with the wlmcntrl command:

wlmcntrl -d WLM_directory -u -o -q

If you do not specify the path of the directory where your WLM configuration files reside, the files classes, limits, shares and rules are taken from the directory pointed to by /etc/wlm/current. Otherwise, these files are taken from the directory WLM_directory, and the symbolic link /etc/wlm/current is updated to point to WLM_directory.

The -q option queries the status (on/off) of WLM.
The -o option turns off WLM.

Examining Resource Utilization

Use the wlmstat command to show the current resource utilizations by class. This command lists the class name and the percentage of each resource that is currently being used by the class. For CPU utilization, the decayed CPU utilization calculated after the last second by the swapper will be output.

The ps Command

Use the ps command with the -c Clist option to display the current class association for each process. The default output of the ps command is not altered. This option takes the class name as the parameter.

The scheduling priority reported through the ps command indicates the scheduling priority used to determine which thread to run. If the scheduling priority of a thread is degraded because its class CPU utilization is reduced, that result is made visible through the output of the ps command.


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