HP Caliper User's Guide
Examples of the --memory-usage= Option
Some examples of the option follow:
• --memory-usage=all
Causes process memory usage to be measured at the beginning, at the end, and
every 1 second of the process's execution.
• --memory-usage=begin:end
Causes process memory usage to be measured twice: at the beginning and at the
end of the process's execution.
• --memory-usage=timed:15
Causes process memory usage to be measured every 15 seconds of the process's
execution.
• --memory-usage=all:30m
Causes process memory usage to be measured at the beginning, at the end, and
every 30 minutes of the process's execution.
• --memory-usage=end
Causes process memory usage to be measured once: at the end of the process's
execution.
• --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 13-1 “Example Memory Usage Report Output for an SMP System” shows some
example output for an SMP system.
Measuring Memory Usage Concurrently with Other Measurements 201