HP Process Resource Manager User's Guide

Command reference
prmanalyze
Appendix A 203
prmanalyze
Syntax:
prmanalyze -V
prmanalyze [-s {auto | uid | gid | command | prmid}] [-f
config_file] [-r {disk | mem | cpu}] [-t {summary | conflict
| hourly | daily | weekly | monthly}] [-p] [-1] [-E]
[-d resource_density][-m minimum_duration]
[-x exclude_key_value] [filename_list]
Availability: Any user can run the prmanalyze command assuming the
user has read permissions on the files in filename_list.
You can only use prmanalyze if you have collected UNIX accounting data
in a file (default /var/adm/pacct) using accton filename.
The prmanalyze utility scans the 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).
NOTE The accounting files that prmanalyze uses only contain information on
terminated processes. For information on active processes, use
prmanalyze with the -p option.
Use this utility when creating an initial PRM configuration (as shown in
“Using prmanalyze to quickly identify resource use” on page 81) and
when fine-tuning existing PRM configurations (shown in “Using
prmanalyze to analyze your configuration” on page 162).
The prmanalyze report indicates the total number of accounting records
processed at the beginning of the report. There is one record for every
process that has terminated since accton began routing data to the
specified accounting files.
If a process does not use a measurable amount of a given resource, it is
filtered out of the data. Consequently, different resource reports can have
slightly different record totals.