Oracle® Solaris Studio 12.4: Performance Analyzer

Exit Print View

Updated: January 2015

Other Options

These collect command options are used for miscellaneous purposes.

Attach to a Process with –P process-id

Write a script for dbx to attach to the process with the given process-id, collect data from it, and then invoke dbx with that script.

Clock or hardware counter profiling data can be specified, but neither tracing nor count data are supported. See the collector(1) man page for more information.

When attaching to a process, the directory is created with the umask of the user running collect -P, but the experiment is written as the user running the process to which dbx attaches. If the user doing the attach is root, and the umask is not zero, the experiment will fail.

Add a Comment to the Experiment with -C comment

Put the comment into the notes file inside the experiment. You can supply up to ten -C options. The contents of the notes file are prepended to the experiment header.

Try Out a Command with -n

Do not run the target but print the details of the experiment that would be generated if the target were run. This option is a dry run option.

Display the collect Version with -V

Print the current version of the collect command. No further arguments are examined, and no further processing is done.

Display Verbose Output with -v

Print the current version of the collect command and detailed information about the experiment being run.