Sun Studio 12: Performance Analyzer

ProcedureTo Run the Collector From dbx:

  1. Load your program into dbx by typing the following command.

    % dbx program
  2. Use the collector command to enable data collection, select the data types, and set any optional parameters.

    (dbx) collector subcommand

    To get a listing of available collector subcommands, type:

    (dbx) help collector

    You must use one collector command for each subcommand.

  3. Set up any dbx options you wish to use and run the program.

    If a subcommand is incorrectly given, a warning message is printed and the subcommand is ignored. A complete listing of the collector subcommands follows.