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

Option/parameter

Description

 

 

-V

Displays version information and exits.

 

 

-s {auto uid gid

Specifies how to sort the accounting data. Only one type of sort is allowed at a time.

command prmid}

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.

 

 

-fconfig_file

Tells the analysis not to take the PRMID from the accounting file, but to compute it using

 

the rules in the specified configuration file.

 

 

-r {disk mem

Specifies the resource to analyze. Only one resource can be analyzed at a time. The

cpu}

resources are:

[LINEBREAK]Abbreviated

mem

form:[LINEBREAK]-r {d

cpu (default)

m c}

Each report summarizes total, average, and peak resource consumption.

 

 

Each resource type can be abbreviated using its first letter.

 

 

 

prmanalyze 103