You can download the Simple Performance Optimization Tool software packages from the Cool Tools web site (http://cooltools.sunsource.net/) or from the Sun Download Center (http://www.sun.com/download/). In the Sun Download Center, the software can be found in the Development Tools section of the Application Development category.
The SPOT software is distributed as part of the CMT Developer Tools. The download is a single tar file that contains two packages SPROprfns and SPROcool. Both of these software packages should be installed into the same directory as the Sun Studio 12 compiler, which must be installed prior to installing the CMT Developer Tool software. (By default, the Sun Studio 12 compiler software is usually installed in the /opt/SUNWspro/ directory.)
The following commands assume that the tar file containing the CMT Developer Tools has been downloaded into the /tmp directory. Installing a package requires root privileges
# cd /tmp # tar xvf SPROcmt.SPARCV9.tar x SPROcool, 0 bytes, 0 tape blocks x SPROcool/pkgmap, 4339 bytes, 9 tape blocks x SPROcool/pkginfo, 463 bytes, 1 tape blocks x SPROcool/reloc, 0 bytes, 0 tape blocks ... x SPROprfns/install/i.none, 2053 bytes, 5 tape blocks x SPROprfns/archive, 0 bytes, 0 tape blocks x SPROprfns/archive/none, 19960117 bytes, 38985 tape blocks |
Refer to the pkgadd(1M) man page for additional information about installing software packages. The command ”pkgadd -d . SPROprfns SPROcool” should be used to install the packages. Answer ”y’ to the prompts from pkgadd. The pkgadd command requires root permissions. The order that the packages are installed is important.
% pkgadd -d . SPROprfns SPROcool Processing package instance <SPROprfns> from </tmp> Sun Studio 12 Non-ship commands for Performance Analyzer (sparc) 12.0,REV=2007.05.29 Copyright 2007 Sun Microsystems, Inc. All rights reserved. Using </opt> as the package base directory. ## Processing package information. ## Processing system information. 22 package pathnames are already properly installed. ## Verifying package dependencies. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of <SPROprfns> [y,n,?] y Installing Sun Studio 12 Non-ship commands for Performance Analyzer as <SPROprfns> ## Installing part 1 of 1. ## Executing postinstall script. Installation of <SPROprfns> was successful. Processing package instance <SPROcool> from </tmp> Cool Tools (sparc) 12.0,REV=2007.06.19 Copyright 2007 Sun Microsystems, Inc. All rights reserved. Using </opt> as the package base directory. ## Processing package information. ## Processing system information. 30 package pathnames are already properly installed. ## Verifying package dependencies. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of <SPROcool> [y,n,?] y Installing Cool Tools as <SPROcool> ## Installing part 1 of 1. ## Executing postinstall script. Installation of <SPROcool> was successful. |
The following commands will be installed into the /opt/SUNWspro/extra/bin directory:
spot, er_html, bit, bw, traps, ripc, spot_diff
Several SPOT tools will generate graphs if they find gnuplot in the current path. However, the gnuplot software is not included with the SPOT software and must be installed separately.
The current version of SPOT is 2.0, which is designed to work with Sun Studio 12. The previous version of SPOT was 1.0, which was designed to work with Sun Studio 11.