HP Process Resource Manager User's Guide

Fine-tuning your PRM configuration
Using prmanalyze to analyze your configuration
Chapter 8162
Using prmanalyze to analyze your
configuration
The prmanalyze utility scans accounting files for information on the
desired resource type (disk, memory, or CPU) and orders the accounting
records by the requested sort key (user, UNIX group, command name, or
PRMID). Use prmanalyze to find patterns in resource usage, then
change your PRM configurations accordingly.
In addition, you can use prmanalyze—even when you are not using
PRM—to perform resource use analysis and capacity planning.
Use prmanalyze -f to list which features are available to PRM, such as
in-kernel memory controls and processor sets.
With prmanalyze, you can generate three classes of reports:
Summary
This report is the default. It shows who consumes the resources and
what the averages are from a high level. It can help you identify
what user or applications need to be restrained or guaranteed more
resources.
Use this report when creating a new PRM configuration.
The command to generate this report: prmanalyze -t summary
Time-based (hourly, daily, weekly, monthly)
These reports provide data on resource use over a given time period
for all the available accounting data. These reports can help you
determine what part of the day (hour, week, or month) each resource
is most used. They also identify the users and applications involved
in the resource consumption.
Use these reports when enhancing an initial configuration to give
special attention to users or applications. Also use these reports
when creating multiple configurations to implement at different
times over a given interval.
The command to generate these reports:
prmanalyze -t {hourly | daily | weekly | monthly}