HP Process Resource Manager User's Guide

Understanding how PRM manages resources
How PRM manages applications
Chapter 2 63
How PRM handles child processes
When they first start, child processes inherit the PRM groups of their
parent processes. At configurable polling intervals, the application
manager checks the PRM configuration file against all processes
currently running. If any processes should be assigned to different PRM
groups, the application manager moves those applications to the correct
PRM groups.
If you move a parent process to another PRM group (with the prmmove
command), all of its child processes remain in the original PRM 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 filenames
Application filenames in application records can contain pattern
matching notation as described in the regexp(5) manpage. This feature
allows you to assign all appropriate applications that reside in a single
directory to a PRM group—without creating an application record for
each individual application.
The wildcard characters ([, ], *, and ?) can be used to specify application
filenames. However, these characters cannot be used in directory names.
To assign all the applications in a directory to a PRM group, create an
application record similar to the following, with the filename specified
only by an asterisk (*):
/opt/special_apps/bin/*::::GroupS
Filenames are expanded to their complete names when a PRM
configuration is loaded. Explicit application records take precedence over
application records that use wildcards. If an application without an
explicit record is matched by several records that use pattern matching,
the record closest to the beginning of the configuration file is used.
Pattern matching for renamed application processes
Alternate names specified in application records can also contain pattern
matching notation as described in the regexp(5) manpage.