HP-UX Workload Manager User's Guide

Understanding how PRM manages resources
Management of applications
Appendix F456
How child processes are handled
When they first start, child processes inherit the workload groups of
their parent processes. At configurable polling intervals, the application
manager checks the PRM configuration file (maintained by WLM)
against all processes currently running. If any processes should be
assigned to different workload groups, the application manager moves
those applications to the correct workload groups. (You can configure the
polling interval with “prmconfig -I interval APPL”. For information,
see prmconfig(1).)
If you move a parent process to another workload group (with the
prmmove command), all of its child processes remain in the original
workload group. If the parent and child processes should be kept
together, move them as a process group or by user login name.
Pattern matching for file names
Application file names in application records can contain pattern
matching notation as described in regexp(5). This feature allows you to
assign all appropriate applications that reside in a single directory to a
workload group—without creating an application record for each
individual application.
The wildcard characters ([, ], *, and ?) can be used to specify application
file names. However, these characters cannot be used in directory names.
For example, the following record is valid:
apps = PRM_SYS : “/opt/wlm/bin/wlm[bcd]”;
By prmmove {targetgrp | -i} Process runs in the workload group specified by
targetgrp or in the user’s initial group. The application
manager cannot move a process started in this manner
to another group. For more information on the PRM
utility prmmove, see Appendix E, “Useful PRM utilities,
on page 445 and prmmove(1).
By another process Process runs in the parent process’s group.
Table F-2 Group assignments at process start-up (Continued)
Process initiated Process runs in workload group as follows