|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Studio 12.2: Simple Performance Optimization Tool (SPOT) User's Guide|
You can run SPOT on your application in two ways:
spot application_command arguments
SPOT will run the application multiple times, collect data with each tool over the entire run of the application, and generate a report.
spot -P process_id
SPOT will attach to the running process, use each tool for a short period of time to collect data, and generate a report on the process.
Running SPOT with the -X option produces the most information. However, when you use this option, SPOT takes longer to collect the data. When you run SPOT with root privileges and this option, SPOT collects bandwidth utilization and trap data. On some processors, SPOT also collects hardware counter profiles.