HP-UX Workload Manager User's Guide
Configuring WLM
Defining the PRM components (optional)
Chapter 5 169
If alt_nameX is not specified for an application, that
application’s group assignment is used for all processes
with a file ID that matches the file ID of application.
(The file ID is based on the file system device and the
inode number.)
For an example showing how to specify scripts in an
apps statement, see the “Script example” on page 169.
For an example showing how to specify an application
that renames itself, see the “Renamed application
example” on page 170. This section also includes an
example using an Extended Regular Expression.
NOTE Beginning with WLM A.03.01, you can use wildcards in both the file
name and the alternate name in a single application record.
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 application record.
When determining the workload group assignment for a process
identified by multiple records, WLM gives highest precedence to
assignments defined in process maps (or to assignments made using the
prmmove or prmrun commands). 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.
Script example
To place a script in a workload group using an apps statement:
Step 1. Specify the full path of the shell or interpreter used in the script as the
application.
Step 2. Specify the name of the script (just the name—no path) as the alt_name.