DTrace by Brendan Gregg
Dynamic Tracing in Oracle Solaris, Mac OS X, and FreeBSD (Oracle Solaris Series)

No critic rating

Waiting for minimum critic reviews

See Reader Rating


The Oracle Solaris DTrace feature revolutionizes the way you debug operating systems and applications. Using DTrace, you can dynamically instrument software and quickly answer virtually any question about its behavior. Now, for the first time, there's a comprehensive, authoritative guide to making the most of DTrace in any supported UNIX environment--from Oracle Solaris to OpenSolaris, Mac OS X, and FreeBSD.


Written by key contributors to the DTrace community, DTrace teaches by example, presenting scores of commands and easy-to-adapt, downloadable D scripts. These concise examples generate answers to real and useful questions, and serve as a starting point for building more complex scripts. Using them, you can start making practical use of DTrace immediately, whether you're an administrator, developer, analyst, architect, or support professional.


The authors fully explain the goals, techniques, and output associated with each script or command. Drawing on their extensive experience, they provide strategy suggestions, checklists, and functional diagrams, as well as a chapter of advanced tips and tricks. You'll learn how to

Write effective scripts using DTrace's D language

Use DTrace to thoroughly understand system performance

Expose functional areas of the operating system, including I/O, filesystems, and protocols

Use DTrace in the application and database development process

Identify and fix security problems with DTrace

Analyze the operating system kernel

Integrate DTrace into source code

Extend DTrace with other tools

This book will help you make the most of DTrace to solve problems more quickly and efficiently, and build systems that work faster and more reliably.


About Brendan Gregg

See more books from this Author
Brendan Gregg is a performance specialist at Joyent and is known worldwide in the field of DTrace. Brendan created and developed the DTraceToolkit and is the coauthor of SolarisTM Performance and Tools (Prentice Hall, 2006) as well as numerous articles about DTrace. Many of Brendan's DTrace scripts are shipped by default in Mac OS X. Jim Mauro is a senior software engineer for Oracle Corporation, working in the Systems group with a primary focus on systems performance. Jim has 30 years of experience in the computer industry and coauthored SolarisTM Performance and Tools and the first and second editions of SolarisTM Internals (Sun Microsystems Press, 2000, and Prentice Hall, 2006).
Published March 18, 2011 by Prentice Hall. 1152 pages
Genres: Computers & Technology, Education & Reference. Non-fiction

Reader Rating for DTrace

An aggregated and normalized score based on 10 user ratings from iDreamBooks & iTunes

Rate this book!

Add Review