To run the Collector from the command line using the collect command , type the following.
% collect collect-options program program-arguments
collect-options are the collect command options , program is the name of the program you want to collect data on, and program-arguments are the program's arguments. The target program is typically a binary executable or a script.
If invoked with no arguments, collect displays a usage summary, including the default configuration of the experiment.
To obtain a list of options and a list of the names of any hardware counters that are available for profiling, type the collect -h command with no additional arguments.
% collect -h
For a description of the list of hardware counters, see Hardware Counter Profiling Data. See also Limitations on Hardware Counter Profiling.