HP Process Resource Manager User's Guide

Configuring and enabling PRM on the command line
Configuring PRM
Chapter 7110
An FSS PRM group mailserver (PRMID 5) with 10 CPU shares.
•Amanagement PSET PRM group with two cores assigned. The
specific cores assigned are Core 3 and Core 4.
Adding/modifying PRM groups and CPU allocations
To add or modify a group/CPU record, follow these steps:
Step 1. Open the desired configuration file in a text editor.
Step 2. Add or modify a line specifying the group name, PRMID, HIER or PSET
keyword, and CPU allocations. Use the syntax shown below:
GROUP:PRMID:SHARES:[MAX]:
GROUP:HIER:SHARES::
GROUP:PSET:::[CORES]:[CORE_LIST][:PSET_ATTR]
and explained in the section “Group/CPU record syntax” on page 105.
Step 3. Add or modify memory and disk bandwidth records as needed. For more
information, see “Controlling memory use” on page 113 or “Controlling
disk bandwidth” on page 123.
Step 4. Save the file and exit your editor.
Step 5. 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.)