Sun Studio 12: Debugging a Program With dbx


collector sample periodic|manual

Specify sampling mode.

collector sample period seconds

Specify sampling interval in seconds.

collector sample record [name]

Record a sample with an optional name.


seconds is the length of the sampling interval.

name is the name of the sample.