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: Note that each memory record must be preceded by the #! characters. These lines are
not treated as comments.
A white paper, titled HP Process Resource Manager memory resource groups: Memory calculation,
on the web at http://h20338.www2.hp.com/hpux11i/downloads/5983-1676EN.pdf presents
a case study of setting memory allocations for PRM groups.
Use the following syntax to specify a memory record:
#!PRM_MEM:{PRMID|GROUP}:SHARES:[MAX]:::[[IMPORT]:[EXPORT]:]
where
#!PRM_MEM Indicates the start of a memory record.
PRMID | GROUP Is a PRM group ID or group name that corresponds to an existing group.
When specifying parents in a group hierarchy, use their names.
SHARES Specifies the group’s guaranteed proportion of available memory. Shares
are integer values ranging from one to MAXINT.
MAX (Optional) Specifies a cap (upper bound) for memory consumption for any
non-HIER PRM group. This integer value represents a percentage and must
be greater than or equal to the percentage determined by the group’s
number of memory shares. There is no requirement that the max values
total 100%.
IMPORT, EXPORT Allow a PRM group to borrow or lend memory resources. Leave both fields
blank to allow unrestricted borrowing and lending. (Leaving the fields blank
enables the proportional overachievement feature.) Assign both fields a
value of 0 to isolate a memory-critical group to ensure it gets exactly the
memory you give it.
You cannot set EXPORT to 0 for the OTHERS group.
NOTE: If you add memory records to the PRM configuration file, your configuration file must not
contain a PRM_SYS (PRMID 0) group. If the group is already present, delete it.
Consider the following example memory records:
# PRM memory records
#!PRM_MEM:1:10:25:::
#!PRM_MEM:databases:30::::
#!PRM_MEM:databases/inventory:15::::
#!PRM_MEM:3:15::::
#!PRM_MEM:4:55::::
#!PRM_MEM:5:5:15:::
#!PRM_MEM:6:20::::0:0:
The example shows:
• A memory record for PRMID 1 (group OTHERS), which specifies 10 memory shares. The
memory cap is 25%.
• The parent group databases starts a hierarchy and is granted 30 memory shares to be
divided by its child groups.
• A memory record for the databases/inventory group. Rather than using its name, we
could have used its PRMID, which is 2, as we see from the example in the section “Group/CPU
record syntax” (page 55). This record specifies 15 memory shares. No memory cap is set.
• A memory record for PRMID 3. We could have used the group’s name, databases/order,
in place of the PRMID. This record specifies 15 memory shares. No memory cap is set.
• A memory record for PRMID 4, which grants 55 memory shares. No memory cap is set.
60 Configuring and enabling PRM on the command line