HP Process Resource Manager User's Guide

Fine-tuning your PRM configuration
Analyzing memory use
Chapter 8 171
Analyzing memory use
The following steps guide you in using PRM’s logging facility to examine
system memory use.
Step 1. Load a PRM configuration with prmconfig -ie APPL if you have not
already done so. Do not enable the PRM resource manager at this time.
(You can disable PRM with the prmconfig -d command if it is already
enabled.)
Step 2. Log PRM memory messages by entering:
# prmconfig -L MEM
Alternatively, you can use the PRM interface in HP System Management
Homepage or in HP Systems Insight Manager to enable logging.
Step 3. Check the /var/adm/syslog/syslog.log file to determine the
percentage of available memory that PRM groups are actually using.
Determine the memory manager’s PID:
# ps -ef | grep prm2d
Then check the file by performing a grep on the PID:
# tail -f /var/adm/syslog/syslog.log | grep PID_of_current_prm2d
Step 4. Adjust memory shares and group assignments in the memory records
section of the PRM configuration file based on the information you
gather.
Step 5. Load the new PRM configuration with prmconfig -i to place processes
in the owners’ initial groups and each configured application in its
assigned group. Re-check the /var/adm/syslog/syslog.log file.
Step 6. Repeat Step 3, Step 4, and Step 5 as needed.
Step 7. Turn off memory logging once you are finished examining your processes’
memory consumption. Use the following command:
# prmconfig -L MEM STOP
Alternatively, use the PRM interface in HP System Management
Homepage or in HP Systems Insight Manager to turn off logging.