The Power of DTrace in the Solaris 10 OS

By Roy Cecil, March 2007  


Dynamic Tracing (DTrace) is a debugging tool introduced in the Solaris 10 Operating System to help debug systemic problems that are difficult to diagnose using traditional debugging tools and mechanisms. This tool takes advantage of points of instrumentation in the Solaris OS to present information useful for debugging errors and investigating performance issues in applications running on the Solaris OS.

This article offers an overview of DTrace along with sample scripts and examples of D programs. For more details, see the list of contents below.

Download the document as PDF.


  • Overview
  • Key Features of DTrace
  • How Does DTrace Work?
  • About Probes
  • An Example to Illustrate the Power of DTrace
  • Anatomy of a D Program
  • D Program Examples
  • Aggregation
  • Built-In Variables and Thread Local Variables
  • DTrace Resources
  • Author Profile
Rate and Review
Tell us what you think of the content of this page.
Excellent   Good   Fair   Poor  
Your email address (no reply is possible without an address):
Sun Privacy Policy

Note: We are not able to respond to all submitted comments.