HP Process Resource Manager User's Guide

Configuring and enabling PRM on the command line
Configuring PRM
Chapter 7 131
Adding/modifying an application’s group assignment
To add or modify an application’s PRM group assignment, follow these
steps:
Step 1. Open the desired configuration file in a text editor.
Step 2. Using the syntax shown below:
APPLICATION::::GROUP[,ALT_NAME[,...,ALT_NAME]]
and explained in the section Application record syntax” on page 128, add
or modify an application record as follows:
a. Specify the full pathname of the application.
b. Specify the group where the application should run.
c. Optionally, add or modify alternate names for the application.
Step 3. Save the file and exit your editor.
Step 4. Load the configuration using one of the following commands:
To initialize, moving user processes to the owners’ initial groups and
moving applications to their assigned groups, use the command:
# prmconfig -i [-f configfile] {-s | -c}
To keep the existing assignments of users, processes, and groups, use the
command:
# prmconfig -k [-f configfile] {-s | -c}
Use the -f configfile option to specify a file other than the default
/etc/prmconf. The -s option displays warnings regarding the
configuration file. (The -c option displays a subset of the -s warnings.)
If you change an application’s group, using prmconfig -i resets all
instances of the application and its child processes to run in the newly
assigned group.