HP-UX Workload Manager User's Guide

Configuring WLM
Defining the PRM components (optional)
Chapter 5172
Specifying process maps to define your own criteria
for workload separation (optional)
You can define process maps that specify your own criteria for placing
application processes in workload groups. Define process maps with the
procmap keyword. Criteria defined in this manner supercede WLM’s
default criteria defined by the users, uxgrps, apps, and scomp
keywords).
The procmap keyword can appear, at most, once in a configuration.
Use your own criteria to assign processes to workload groups in the prm
structure using the following syntax:
procmap = group : PID_finder [, ... ];
where
group
Is the name of the workload group in which the
processes defined by PID_finder should run.
PID_finder
Is the absolute path to a script or command and its
arguments that gathers and outputs the process
identifiers (PIDs) for processes that are to be placed in
group. The command line can specify, for example, a ps
command, Oracle script, or SAP script. To separate
arguments in the command line, use white space. Use
double quotes to form single arguments to an option or
when using special characters such as commas,
semicolons, and pound (#) characters.
The expected output is a list of PIDs, separated either
by a space or newline delimiter. WLM gathers the
PID_finder stdout and places the processes in the
group in the order defined by PID_finder. Any stderr
is ignored. Note that processes invoked by PID_finder
run in PRM_SYS by default.
The command or script is spawned periodically, at the
interval defined by the application manager's current
polling interval (by default, 30 seconds). Ensure that
the operation completes in a short time relative to this
interval.