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

To set the interval for the application manager, set PRM_INTL_APPL to the number of seconds
you want the interval to last:
PRM_INTL_APPL=seconds
To set the interval for the memory manager, set PRM_INTL_MEM to the number of seconds you
want the interval to last:
PRM_INTL_MEM=seconds
To log application manager messages to /var/adm/syslog/syslog.log, set PRM_LOG_APPL to
one:
PRM_LOG_APPL=1
To log memory manager messages to /var/adm/syslog/syslog.log, set PRM_LOG_MEM to one:
PRM_LOG_MEM=1
To start PRM’s SNMP agent on reboot, set PRM_SNMPAGT to one:
PRM_SNMPAGT=1
For more information on this agent, see Appendix C.
Reconstructing a configuration file
When PRM is configured, an internal copy of the configuration file is created as
/var/opt/prm/PRM.prmconf. If PRM is then reconfigured, this file is renamed
/var/opt/prm/PRM.prmconf.old, and a copy of the new configuration is created as
/var/opt/prm/PRM.prmconf. If PRM is reset after being configured, the /var/opt/prm/PRM.prmconf
file is renamed /var/opt/prm/PRM.prmconf.old.
These internal copies can be used as backups if your configuration file is lost or corrupted. Be
aware though that records for applications or users that were not present when the configuration
was loaded will not be in the files.
Table 16 shows when the various files are available.
Table 16 Internal copies of configuration files
Files availableState
NoneBoot-time
/var/opt/prm/PRM.prmconf (current configuration)[LINEBREAK]/var/tmp/PRM.prmconf
(configuration kept for legacy purposes)
Load a configuration
/var/opt/prm/PRM.prmconf (current
configuration)[LINEBREAK]/var/opt/prm/PRM.prmconf.old (previous
configuration)[LINEBREAK]/var/tmp/PRM.prmconf (configuration kept for legacy
purposes)
Load a configuration when a
configuration is already
present
/var/opt/prm/PRM.prmconf.old (previous configuration)Reset PRM
Backup copies of various files are available in /var/opt/prm/.
You may also see the files /var/opt/prm/PRM.prmconf.src and /var/opt/prm/PRM.prmconf.srcinfo
if, with a release prior to C.02.01, you have automatically started PRM at boot time through settings
in your /etc/rc.config.d/prm file. The PRM.prmconf.src file is used to configure PRM in such cases.
Special case of interest: Client/server connections
NOTE: The scenario described in this section applies only when the application manager is not
enabled. Prevent this scenario by enabling the manager using the prmconfig -e command.
In a client/server configuration, users attaching to a system via a socket connect (bypassing the
normal login procedure) all run as the same user (typically, root or other username). Because PRM
Reconstructing a configuration file 99