DTrace by Example: Solving a Real-World Problem

last updated in Categories Howto, Solaris, Sys admin, Troubleshooting, Tuning, UNIX

This article shows the use of DTrace to solve a real-life problem, following the reasoning behind the process. The author presents short scripts and explains the language fragments used.

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.

Contents

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

=> Download the document as PDF.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 0 comments/add one below):