--memory-usage=

Causes process memory usage to be measured at the beginning, at the end, and every 1 second of the process's execution. (This is equivalent to --memory-usage all.)

--memory-usage=15s

Causes no process memory usage measurement to be taken. Although it does specify a sampling rate, it does not request that “timed” measurements be made. The system memory measurement is still taken.

--mem=e:5:b:t

Causes process memory usage to be measured at the beginning, at the end, and every 5 seconds of the process's execution.

Example Report Output

Memory usage data is only reported in text (-o) and CSV-formatted (--csv-file) reports. Figure 28 (page 154) shows some example output for an SMP system.

Figure 28 Example Memory Usage Report Output for an SMP System

System Memory Configuration

------------------------------------------------------------------------

Domain

Physical

 

#

Used

Free

Total

Id

Id

Type

CPUs

Pages

Pages

Pages

------------------------------------------------------------------------

0

0

CLM

4

312922

731708

1044630

------------------------------------------------------------------------

Process Memory Usage

-------------------------------------------------------------------------------

 

Domain

Shared

Private

Weighted

Total

Time

Id

Pages

Pages

Pages

Pages

-------------------------------------------------------------------------------

Begin

0

17

36

36

53

-------------------------------------------------------------------------------

+00:00:01

0

808+

4190+

4320+

4998+

-------------------------------------------------------------------------------

+00:00:05

0

809+

4190

4321+

4999+

-------------------------------------------------------------------------------

End

0

817+

4190

4329+

5007+

-------------------------------------------------------------------------------

How to Read the Reports

This section explains the information in the System Memory Configuration and Process Memory Usage tables.

System Memory Configuration Table

This table is always present if the --memory-usage=option is used. It contains a snapshot of total system memory at the start of the HP Caliper measurement run.

On a ccNUMA system, there are separate entries in the table for each of the logical domains. The total of all domains is calculated and printed at the bottom of the table.

On an SMP system, there is only one entry for the single, local domain. No total is necessary for SMP systems.

The fields in each entry are:

Domain Id

System identification number of the logical domain. On ccNUMA systems, cell

 

local memory domains are numbered starting at 1, and the interleaved memory

 

domain Id is −1. On SMP systems, the only domain is numbered 0.

154 HP Caliper Features Specific to HP-UX