HP-UX Workload Manager User's Guide

Configuring WLM
Defining the PRM components (optional)
Chapter 5 173
You can specify more than one PID_finder for a group,
but specify each PID_finder in a separate group :
PID_finder statement.
Wildcards specified in the string are not expanded.
NOTE The PID_finder is a single command. Pipes are not
directly supported unles embedded in a shell command.
See the third example in “PID finder examples” on
page 173.
For information on how to specify PID_finder scripts
or commands in a procmap statement, see the “PID
finder examples” on page 173.
NOTE A process may start in a workload group other than its assigned group
due to its inheriting the group of the process that started it. However,
WLM will eventually move the process to the workload group specified in
its process map.
If a PID is specified by multiple PID_finder scripts or commands, the
process’s assignment might change from group to group with each
successive spawning of the PID_finder.
Process maps take precedence over WLM’s standard criteria for process
placement (compartment, application, user, and Unix group records).
The precedence given to the various records that define workload group
placement is described in “How the application manager affects
workload group assignments” on page 459.
PID finder examples
To follow are examples showing three different ways of specifying
PID_finder, from the most desirable method to the least. All three
specifications provide similar functionality.
1. Run the ps command in an appropriate environment to gather PIDs
matching the application pid_app. This method of specifying
PID_finder is the best because it does not mask the functionality
and does not fork additional shells.