You can collect performance data in Performance Analyzer in several ways:
Using the collect command from the command line (see Collecting Data Using the collect Command and the collect(1) man page). The collect command-line tool has smaller data collection overheads than dbx so this method can be superior to the others.
Using the Oracle Solaris Studio Performance Collect dialog box in the Performance Analyzer (see “Collecting Performance Data Using the Oracle Solaris Studio Performance Collect Dialog Box” in the Performance Analyzer online help).
Using the collector command from the dbx command line (see Collecting Data Using the dbx collector Subcommands.
The following data collection capabilities are available only with the Oracle Solaris Studio Collect dialog box and the collect command:
Collecting data on Java programs. If you try to collect data on a Java program with the collector command in dbx, the information that is collected is for the JVM software, not the Java program.
Collecting data automatically on descendant processes.