HP Process Resource Manager User's Guide

Configuring and enabling PRM on the command line
Configuring PRM
Chapter 7112
Removing groups/CPU allocations
To remove group/CPU allocations with a text editor:
Step 1. Open the configuration file in a text editor.
Step 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]
Step 3. Remove or modify application, memory, disk bandwidth, or user records
that referenced the PRM group removed in Step 2.
Step 4. Save the file and exit the text 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.)
Step 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