User's Manual
Table Of Contents
- HP Process Resource Manager User Guide
- Contents
- Preface
- 1 Overview
- 2 Understanding how PRM manages resources
- 3 PRM configuration planning
- 4 Setting up PRM
- 5 Using PRM with HP System Management Homepage (SMH)
- 6 Using PRM with HP Systems Insight Manager (SIM)
- 7 Configuring and enabling PRM on the command line
- Quick start to using PRM’s command-line interface
- Configuring PRM
- The PRM configuration file
- Configuration tips and requirements
- Specifying PRM groups/controlling CPU resource use
- Controlling memory use
- Controlling applications
- Specifying PRM users
- Assigning secure compartments to PRM groups
- Assigning Unix groups to PRM groups
- Checking the configuration file
- Loading the PRM configuration
- Enabling resource managers
- Updating the configuration
- 8 Fine-tuning your PRM configuration
- 9 Administering PRM
- Moving processes between PRM groups
- Displaying application filename matches
- Displaying netgroup expansions
- Displaying accessible PRM groups
- Displaying state and configuration information
- Displaying application and configuration information
- Setting the memory manager’s polling interval
- Setting the application manager’s polling interval
- Disabling PRM
- Resetting PRM
- Monitoring PRM groups
- Logging PRM memory messages
- Logging PRM application messages
- Displaying groups’ allocated and used resources
- Displaying user information
- Displaying available memory to determine number of shares
- Displaying number of cores to determine number of shares
- Displaying past process information
- Displaying current process information
- Monitoring PRM with GlancePlus
- Monitoring PRM with OpenView Performance Agent (OVPA) / OpenView Performance Manager (OVPM)
- Automating PRM administration with scripts
- Protecting the PRM configuration from reboots
- Reconstructing a configuration file
- Special case of interest: Client/server connections
- Online cell operations
- Backing up PRM files
- A Command reference
- B HP-UX command/system call support
- C Monitoring PRM through SNMP
- D Creating Secure Resource Partitions
- E Using PRM with Serviceguard
- F Using PRM with HP Integrity Virtual Machines
- G PRM error messages
- Glossary
- Index

NOTE: If INITIALGROUP or ALTERNATEGROUP is in a hierarchy, it must be a leaf group (a
group with no child groups). You cannot assign users to parent groups. For example, in the
configuration below, TWO is a parent group and TWO/b is a leaf group.
#Group records
TWO:HIER:60::
TWO/b:3:50::
#User records
user1::::TWO # INVALID
user2::::TWO/b # VALID
Consequently, TWO cannot be used in a user record.
User records for nonroot users cannot contain the name of the PRM system group, PRM_SYS. The
second, third, and fourth fields of a user record must be null.
Consider the following example user records:
#PRM user records
sysadm::::OTHERS
engineer1::::development,OTHERS
user1::::OTHERS
user2::::sales
+marketing::::mktg
These user records define:
• An initial group of OTHERS for root user sysadm. (Recall that all root users have implicit
access rights to all groups.)
• An initial group of development and alternate group OTHERS for engineer1.
• An initial group of OTHERS for user1.
• Assuming user2 is in the marketing netgroup, the explicit user record for user2 takes
precedence over the marketing netgroup’s user record. Consequently, sales is the user’s
initial PRM group.
Adding/modifying a user’s group assignment
To add or modify a user record, follow these steps:
1. Open the desired configuration file in a text editor.
2. Using the syntax shown below:
USER::::INITIALGROUP[,ALTERNATEGROUP[, ...]]
and explained in the section “User record syntax” (page 71):
a. Add or modify a line specifying a netgroup or a user’s login name.
b. Add or modify an initial group.
c. (Optional) Add or modify the alternate groups.
3. Save the file and exit your editor.
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 [-fconfigfile] {-s | -c}
To keep the existing assignments of users, processes, and groups, use the command:
#prmconfig -k [-fconfigfile] {-s | -c}
Configuring PRM 73