Installing DTrace Tools

Setting Up Your Development Environment on OpenSolaris

DTrace

The OpenSolaris OS initial installation includes the DTrace (Dynamic Tracing) facility (providers and clients) and toolkit (SUNWDTraceToolkit). The DTraceToolkit is in /opt/DTT and includes many useful scripts. See /opt/DTT/Guide for information about the DTraceToolkit. Additional scripts are in /usr/demo/dtrace.

Note that you need to have dtrace_user and dtrace_proc privileges to use DTrace. For help assigning privileges, see Privileges in the DTrace Topics Guide on solarisinternals.com.

You might want to install additional packages related to DTrace such as the following:

dtrace-gui-plugin NetBeans DTrace GUI Plug-in
SUNWapch<version>-dtrace DTrace plugin for Apache Web Server
SUNWxdt xVM Hypervisor Dynamic Tracing (DTrace) Provider
SUNWcacaodtrace Common Agent Container DTrace Module

To download and install DTrace tools by using the OpenSolaris Package Manager:

  1. Select System > Administration > Package Manager from the desktop menu bar on your OpenSolaris system.
  2. To find all the DTrace packages, do one of the following steps:
    • Select a Repository to search, select All Categories from the category menu, select the System sub-category, and select All Packages from the Show menu.
    • Select a Repository to search, type dtrace in the Search field, and press the Enter key.
    • Select All Repositories from the Search menu, type dtrace in the Search field, and press the Enter key.
  3. A check mark in the Status column of the package list means that package is already installed on your system. A green star in the Status column means an update is available for that package. If you want to install or update a package, select the checkbox to the left of the package name and then select the Install/Update button or the Package > Install/Update menu option at the top of the Package Manager window.

For more information about DTrace, see the following resources:

Labels

appdeveloper appdeveloper Delete
task task Delete
adding adding Delete
installing installing Delete
dtrace dtrace Delete
singleadmin singleadmin Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact