Simple Performance Optimization Tool (SPOT) 2.0 User's Guide

Using the spot Command

You can run the spot command from either the directory where it is installed, or by adding the installation directory (by default, /opt/SUNWspro/extra/bin) to your system’s $PATH environmental variable.

There are two ways you can run the spot command:

The two command lines are:


Example 2–1 Command line to run application under spot


$ spot application parameters

Where application is the name of the application being investigated and parameters is the application arguments.


Example 2–2 Command line to attach spot to a running process


$ spot -P pid

Where pid is the process ID number of the running application.

There are a number of command-line options:

Each of the tools called by spot can be invoked stand-alone. If invoked stand-alone, the data collected by these tools will not be in HTML format.