User's Manual

Table Of Contents
NOTE: For memory, the average, peak, and percent KB values should be comparable to those
presented by acctcom. However, the memory totals (in KB minutes) for prmanalyze may differ.
This is because HP-UX accounting charges memory usage only when a process is actually running
and presumes it takes up no memory whatsoever when the process is not using CPU time. This
leads to artificially low numbers for PRM purposes. For the sake of resource management,
prmanalyze assumes that a process holds its resident memory pages reserved, whether it uses
them or not, for the entire wallclock existence of the process. The prmanalyze reports are designed
to help you prevent paging in well-behaved PRM groups by isolating and eliminating sources of
conflict. This can lead to total values that are somewhat higher than the values given by other tools.
Therefore, be cautious when billing based on prmanalyze memory totals.
Table 18 prmanalyze options/parameters
DescriptionOption/parameter
Displays version information and exits.-V
Specifies how to sort the accounting data. Only one type of sort is allowed at a time.
The data can be sorted based on:
Auto (auto)
User ID (uid)
Group ID (gid)
Command name (command) (default)
PRMID (prmid)
Each sort type can be abbreviated using its first letter.
-s {auto | uid | gid
| command | prmid}
Tells the analysis not to take the PRMID from the accounting file, but to compute it using
the rules in the specified configuration file.
-fconfig_file
Specifies the resource to analyze. Only one resource can be analyzed at a time. The
resources are:
mem
cpu (default)
Each report summarizes total, average, and peak resource consumption.
Each resource type can be abbreviated using its first letter.
-r {disk | mem |
cpu}
[LINEBREAK]Abbreviated
form:[LINEBREAK]-r {d |
m | c}
prmanalyze 103