HP Process Resource Manager User's Guide

Configuring and enabling PRM on the command line
Configuring PRM
Chapter 7 143
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.)
NOTE If you change a user’s initial group, using prmconfig -i resets the user’s
processes. With prmconfig -k, all of the user’s currently running
processes continue to execute in their current group until a prmmove is
done or until the user logs in again. Any other processes continue to run
in their current group unless moved with prmmove. For more information
on these options, see Table 7-1 on page 154.
Step 5. Enable PRM’s application manager if it is not already enabled:
# prmconfig -e APPL
Alternatively, enable all PRM resource managers using prmconfig -e
without any additional arguments:
# prmconfig -e
Example: Changing the initial group of a user Consider this
scenario in which a user’s initial group is changed. One of the sales
advisors, advisor6, has decided to change jobs and move to the
purchasing department. The user’s login does not change. However, in
the PRM configuration file, advisor6 needs to be added to the
purchasing group and removed from the sales group. Also, the number
of shares for the user’s original and new groups need to be modified to
meet each group’s anticipated resource needs.