HP-UX Workload Manager User's Guide
Configuring WLM
Defining the PRM components (optional)
Chapter 5174
procmap = sales : /bin/env UNIX95= /bin/ps -C pid_app -o pid=;
2. Gather PIDs inside an external script named pidsbyapp. This is less
desirable than the previous example because it masks the
functionality of what is being run; however, you might find this
method more useful because it facilitates specifying multiple or
complex PID selection criteria.
procmap = sales : /scratch/pidsbyapp pid_app;
3. Run a ps command with a pipe within a shell. This is least desirable
because it spawns multiple shells.
procmap = sales : /usr/bin/sh -c "ps -efxP | grep pid_app | awk '{print $3}'";
Specifying disk bandwidth shares (optional)
NOTE To take advantage of disk bandwidth shares, your disks must be
mounted and under the control of Logical Volume Manager (LVM). For
information on LVM, see “Management of disk bandwidth” on page 452.
WLM does not dynamically allocate disk bandwidth shares to workload
groups. To ensure that a workload receives a sufficient amount of
bandwidth, assign the workload’s group a bandwidth share using the
disks keyword.
The disks keyword can appear, at most, once in a configuration.
If you want to use disk bandwidth shares, then for each FSS group
specified using the groups keyword, assign the group a disk bandwidth
share using the disks keyword. In other words, there must be a
one-to-one correspondence between the defined FSS groups and the
groups that receive disk bandwidth shares.
NOTE If you use the disks keyword, you must explicitly create the OTHERS
workload group and assign it a disk bandwidth share.
Specify disk bandwidth shares for logical volume groups in the prm
structure using the following syntax:
disks = group : volume shares [, ...];