DTrace by Example: Solving a Real-World Problem

By Paul van den Bogaard, January 2007  


Dynamic Tracing (DTrace) in the Solaris 10 OS is too complex to cover in just one short article. Here the author explores how DTrace can be used to solve one real-life problem. The article follows the reasoning used -- the "if", the "when", and the "why" -- and takes the reader along on the journey. Short scripts are presented, as well as explanations of the language fragments used.

For more details, see the list of contents below.

Download the document as PDF.


  • Introduction
  • The Application Domain
  • A Short Introduction to DTrace
    • Example
  • The Initial Situation
  • Watching the Children of the Process
  • doorfs: What Is It?
  • Name Service Cache Daemon
  • References