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

Table 14 Differences in loads when a configuration is already loaded
DescriptionCommand
Loads a PRM configuration as follows:
• Places processes subject to compartment, application, user, or Unix group records in
their assigned PRM groups.
• Places all currently running processes—not owned by root—in their owners’ initial
groups, as defined in the owners’ user records. The initial group is OTHERS for nonroot
users without user records.
If root has a user record, root logins that occur after the load are placed in the PRM
group specified as the initial group in the user record. However, any root processes that
exist when the load happens are left as is, unless the process is executing in a group
that is deleted in the new configuration, in which case, the processes are moved to the
specified initial group.
prmconfig
-i[LINEBREAK](Initialize or
Move)
Loads a PRM configuration, keeping all processes in their current PRM groups, with the
following exceptions:
• User processes running in PRM_SYS (the PRM system group) and processes running
in groups that do not exist in the new configuration
Each process is moved to the initial group of the process owner, as defined in the
configuration file. The initial group is PRM_SYS for root users without user records.
The initial group is OTHERS for nonroot users without user records.
• User processes where the initial group is a PSET PRM group—and at least one PSET
group in the configuration has specific cores assigned to it
Each process is moved to the initial group of its user as defined in the configuration
file.
• Application processes matching application records running in PRM_SYS or in a PSET
PRM group—and at least one PSET group in the configuration has specific cores
assigned to it
These processes are moved to the assigned groups when the application manager is
enabled.
This load does not negate any previous prmrun or prmmove commands.
prmconfig
-k[LINEBREAK](Keep)
Loading the PRM configuration with prmconfig
When loading a configuration, you have two options. To initialize on the load of a configuration,
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}
Use the -f configfile option to specify a file other than the default /etc/prmconf. The -s
option displays warnings regarding the configuration file. (The -c option displays a subset of the
-s warnings.)
NOTE: After you load your configuration, you can enable PRM, as discussed in “Enabling resource
managers” (page 80).
Enabling resource managers
Enable PRM’s resource managers after you load your configuration.
80 Configuring and enabling PRM on the command line