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

Contents
Preface........................................................................................................8
New in this edition...................................................................................................................8
Supported platforms..................................................................................................................8
Notational conventions..............................................................................................................8
Associated documents ..............................................................................................................9
Providing feedback...................................................................................................................9
Support and patch policies......................................................................................................10
Training.................................................................................................................................10
1 Overview................................................................................................11
What is HP Process Resource Manager? ...................................................................................11
Introduction to PRM commands.................................................................................................12
Why use HP Process Resource Manager? .................................................................................13
Standard HP-UX resource allocation ....................................................................................14
How PRM can improve on standard allocation.......................................................................14
Balancing resource use between users..............................................................................14
Prioritizing resource use between users.............................................................................15
Prioritizing resource use for applications ..........................................................................15
Limiting resource consumption.........................................................................................16
Isolating resource use for applications and users...............................................................16
2 Understanding how PRM manages resources ..............................................17
How PRM controls resources....................................................................................................17
PRM groups......................................................................................................................17
Resource allocation............................................................................................................18
What are processor sets?...............................................................................................18
How processor sets work?..............................................................................................18
What are shares?.........................................................................................................19
How shares work..........................................................................................................19
Hierarchical PRM groups................................................................................................20
How PRM manages CPU resources...........................................................................................22
Example: PRM CPU resource management............................................................................23
CPU allocation and number of shares assigned.....................................................................24
Capping CPU resource use.................................................................................................24
How PRM manages CPU resources for real-time processes.......................................................25
Hyper-Threading................................................................................................................25
Multiprocessors and PRM....................................................................................................25
How PRM manages real memory resources................................................................................26
How HP-UX manages memory.............................................................................................26
Available memory..............................................................................................................27
How PRM controls memory usage........................................................................................27
Reducing memory shares....................................................................................................28
Capping memory use....................................................................................................28
Implementation of shares and caps..................................................................................28
Isolating a group’s private memory resources....................................................................29
How PRM manages shared memory................................................................................29
How PRM manages locked memory.................................................................................29
Example: memory management......................................................................................30
How resource allocations interact..............................................................................................31
Contents 3