HP-UX Workload Manager User's Guide
Configuring WLM
Defining the PRM components (optional)
Chapter 5 167
NOTE The system is polled every 30 seconds to ensure that processes are
running in the appropriate workload groups. If a process forks child
processes and immediately exits, the polling will likely miss the parent
process. As a result, the parent process is never placed in its workload
group. When the child processes are found during polling, WLM will not
be able to determine the parent of the processes. Then, instead of being
placed in the parent’s assigned group, the child processes are placed in
the group of the invoking user or in the OTHERS group. To avoid this
condition, be sure parent processes exist for at least 30 seconds (the
default polling interval). In various shells, you can use the wait
command in a script to prevent the process from exiting immediately.
(Placement of a process family can take up to two polling intervals: The
parent process is moved to its assigned group in the first interval, while
the child processes are moved to the group in the second interval.)
The apps keyword can appear, at most, once in a configuration.
Assign applications to workload groups in the prm structure using the
following syntax:
apps = group : application [alt_name1 alt_name2...] [, ... ];
where
group
Is the name of the workload group in which the
application should run.
application
Is the full path of the application, starting with a
slash (/). The pathname must be to a binary or
shell/interpreter.
You can use wildcards ([, ], ?, *) to specify the file
name, but not the directory name. If you use wildcards
in a file name, enclose the full pathname in quotes. For
information on wildcards, see the PATTERN
MATCHING NOTATION section in regexp(5).