User's Manual

Table Of Contents
#prmconfig -i [-fconfigfile] {-s | -c}
To keep the existing assignments of users, processes, and groups, use the command:
#prmconfig -k [-fconfigfile] {-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.)
6. Enable PRM’s CPU manager if it is not already enabled:
#prmconfig -e CPU
Alternatively, enable all PRM resource managers using prmconfig -e without any additional
arguments:
#prmconfig -e
Capping CPU resource use
CPU capping allows you to limit the amount of CPU resources that FSS PRM groups use. PRM
provides two types of CPU capping:
On a per-group basis
(Available for HP-UX 11i v3 and later.) For per-group capping, use the MAX field in the FSS
PRM group record (discussed in the section “Group/CPU record syntax” (page 55)) for only
those groups you want to cap.
For all FSS PRM groups in the configuration
The CPUCAPON mode, enabled through the prmconfig -M option, is discussed below. In
this mode, PRM treats the minimum allocation for each FSS PRM group as its maximum
allocation.
The syntax for a FSS group/CPU record is:
GROUP:PRMID:SHARES:[MAX]:
When you cap CPU resource use via CPUCAPON mode, the percentages computed from the SHARES
values of the FSS PRM groups are also used as caps. The mode is in effect for all user-configured
FSS PRM groups on a system when enabled, regardless of system load. This mode, however, does
not affect the PRM_SYS group. PSET PRM groups are capped on CPU resource use as a result of
the number of cores assigned to the group.
Turn on CPU capping by entering the command:
#prmconfig -M CPUCAPON
Turn off CPU capping by entering the command:
#prmconfig -M CPUCAPOFF
Using prmconfig -r or prmconfig -d CPU also turns CPU capping off.
Removing groups/CPU allocations
To remove group/CPU allocations with a text editor:
1. Open the configuration file in a text editor.
2. Remove the line corresponding to the group/CPU record you wish to remove. If the group is
a parent group, you will need to remove all the child groups first. Group/CPU records have
one of the following forms:
GROUP:PRMID:SHARES:[MAX]:
GROUP:HIER:SHARES::
GROUP:PSET:::[CORES]:[CORE_LIST][:PSET_ATTR]
58 Configuring and enabling PRM on the command line