HP Process Resource Manager User's Guide

Configuring and enabling PRM on the command line
Configuring PRM
Chapter 7144
One way to accomplish this change is to:
Step 1. Update the configuration file in a text editor as follows:
a. Modify the number of shares for the purchasing and sales groups.
b. Modify the user record for advisor6 to specify an initial group of
purchasing.
Step 2. Load the updated configuration using -k to keep the existing
assignments of users, processes, and groups:
# prmconfig -k
Step 3. Move all currently running processes for advisor6 to the PRM group
purchasing using prmmove:
# prmmove purchasing -u advisor6
Removing a user’s group assignment
To remove a user record manually:
Step 1. Open the configuration file in a text editor.
Step 2. Remove the line corresponding to the user record you wish to remove.
User records have the following form:
USER::::INITIALGROUP[,ALTERNATEGROUP[, ...]]
Step 3. Save the file and exit the text 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.)