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
The prmlist command with the -a option displays exactly this information, however. It also
shows each application’s PRM group assignment.
For example, consider a configuration that includes only one application record. This record,
shown below, places all applications in /bin/ that begin with the letter “b” in a PRM group named
Bapplications:
/bin/b*::::Bapplications
To get a listing of these applications, enter the command:
#prmlist -a
PRM Application Assigned Group Alternate Name(s)
-------------------------------------------------------------------
/bin/bfs Bapplications
/bin/bg Bapplications
/bin/basename Bapplications
/bin/bs Bapplications
/bin/bdiff Bapplications
/bin/bc Bapplications
/bin/banner Bapplications
/bin/batch Bapplications
/bin/bdf Bapplications
Displaying netgroup expansions
The combination of user records and multiple netgroup records can make determining a user’s
initial and alternate PRM groups difficult.
The prmlist command displays exactly this information. Using the prmlist -u +netgroup
option displays the data for only the specified netgroup.
For example, consider the following /etc/netgroup entries:
prime two three five # Define the first three
even zero two four # netgroups in terms of the
odd one three five # following netgroups
zero (, user0, )
one (, user1, )
two (, user2, )
three (, user3, )
four (, user4, )
five (, user5, )
Notice in the entries above that user2, user3, and user5 appear in multiple netgroups. Now
consider the following PRM configuration:
OTHERS:1:20::
even_PRM_group:2:25::
odd_PRM_group:3:25::
prime_PRM_group:4:25::
Five:5:5::
root::::PRM_SYS
guest::::OTHERS
user5::::Five
+even::::even_PRM_group
+odd::::odd_PRM_group
+prime::::prime_PRM_group
The configuration places members of the even netgroup in the PRM group even_PRM_group.
Similarly, members of the odd and prime netgroups are assigned to the PRM groups
odd_PRM_group and prime_PRM_group, respectively. The explicit user record for user5
assigns that user to the PRM group Five.
Using the prmlist command, we get all the group and alternate group assignments (a portion
of the output has been omitted for brevity):
#prmlist
90 Administering PRM