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
cores (PSET). Processes in a PSET have equal access to CPU cycles on their
assigned cores through the HP-UX standard scheduler.
Memory Specifies a PRM group’s memory allocation, either of private memory or shared
memory. There are two types of memory records:
• Private
Specifies a minimum amount of private memory. Optionally specifies a
cap on memory use as well as memory isolation (so that memory cannot
be loaned out or borrowed from other groups).
• Shared
Specifies a minimum amount of memory in megabytes for use as shared
memory for the processes in that PRM group.
PRM groups without a shared memory record default to PRM_SYS for shared
memory allocation.
Application Specifies an application (either explicitly or by regular expression) and the PRM
group in which the application should run. Optionally, it specifies alternate
names the application can take at execution. (Alternate names are most common
for complex programs such as database programs that launch many processes
and rename them.)
User Specifies a user or a collection of users (through a netgroup) and assigns the
user or netgroup to an initial PRM group. Optionally, it specifies alternate PRM
groups. A user or netgroup member then has permissions to use these PRM
groups with the prmmove and prmrun commands.
Unix group Maps existing Unix groups to PRM groups.
Compartment Maps existing secure compartments to PRM groups. (Use the optional HP-UX
feature Security Containment to create the secure compartment configurations.
You can also create compartment configurations using a PRM utility such as
srpgen or prm2scomp.)
For more detailed information on records, see the prmconf(4) manpage.
Introduction to PRM commands
PRM supports the commands below. For more information about a command, see its manpage or
the “Command reference” (page 101).
prmagt PRM’s read-only SNMP agent.
prmanalyze Allows you to analyze resource usage and contention to help plan PRM
configurations.
prmavail Displays estimated resource availability to help plan PRM configurations.
prmconfig Configures, enables, disables, and resets PRM. Also, validates PRM
configuration files and controls PRM’s message logging. You can also perform
these tasks using the PRM graphical interface in HP System Management
Homepage (SMH) or HP Systems Insight Manager (SIM).
prminitconfig Configure or unconfigure the PRM GUI to be available in HP Systems Insight
Manager (SIM).
prmlist Displays the current PRM group, memory, user, and application information.
prmloadconf Creates a PRM configuration file or updates an existing configuration file.
prmmonitor Monitors current PRM configuration and resource usage by PRM group.
prmmove Moves processes or groups of processes to another PRM group.
prmrecover Cleans up processes after abnormal memory manager termination.
12 Overview