HP Caliper User's Guide

cstack
dcache
dtlb
ecount
fprof
icache
itlb
pmu_trace
scgprof
traps
NOTE: For information about attaching to a running process for precise measurements,
see Attaching to a Running Process to Perform Precise Measurements ” (p. 207).
To attach to a process, you must specify the process ID (PID). The syntax is:
caliper measurement [options] pid[ pid][ ...]
The process IDs should be placed at the end of the command line. Do not specify a
target program name.
For example:
$ caliper fprof 7654 8624
To specify the length of time before detaching and reporting, use the -e seconds
option. The value of seconds represents the number of real-time seconds HP Caliper
is attached to the process. The exact placement of -e seconds is not significant.
Some example command lines are:
$ caliper fprof -e 15 /usr/bin/ls -R
$ caliper fprof -e 20 7654
NOTE: The target process being measured does not terminate when HP Caliper
detaches from it. The process keeps running (in the background if it was launched by
HP Caliper).
How to Display Reference Information About CPU Counters or HP Caliper
Report Types
You can use the caliper info command to display reference information about the
CPU counters or HP Caliper report descriptions. You can specify a partial name of a
CPU counter or a measurement name to get information on all items that match.
By default, it is assumed that you want to see counter information, not report
information.
How to Display Reference Information About CPU Counters or HP Caliper Report Types 133