HP Process Resource Manager User's Guide

Configuring and enabling PRM on the command line
Quick start to using PRM’s command-line interface
Chapter 798
Quick start to using PRM’s command-line
interface
The following steps outline how to use PRM’s command-line interface.
Detailed information on these topics is available in the remainder of the
chapter.
Step 1. Determine which configuration model you are going to use.
For information on planning your configuration, see “PRM configuration
planning” on page 71.
Step 2. Create your configuration file. Use the prmloadconf command to create
the default /etc/prmconf configuration file (if it is not present).
For help in determining the resource allocations in your initial
configuration, see “Using prmanalyze to quickly identify resource use”
on page 81.
Step 3. Customize the configuration file manually in a text editor.
Step 4. Check the syntax of the configuration file manually with -s or -c, as
shown below. (The -c checks are a subset of the -s checks.)
# prmconfig {-s | -c} [-f configfile]
Use the -f configfile option to specify a file other than the default
/etc/prmconf.
Step 5. Load the configuration using one of the commands below:
To initialize, moving user processes to the owners’ initial groups and
moving applications to their assigned groups, use the command:
# prmconfig -i [-f configfile]
To keep the existing assignments of users, processes, and groups, use the
command:
# prmconfig -k [-f configfile]
Step 6. Enable PRM:
# prmconfig -e