DTrace Tools

The following are open source tools and examples that use Dynamic Tracing (DTrace). DTrace helps troubleshoot problems on servers by providing new detailed views of application and system internals, to a level that was previously difficult or impossible to access. It provides a language to write DTrace scripts that is similar to C and is event based. For a longer description of DTrace itself, see the introduction on dtrace.org.

This website contains many of my first DTrace scripts, developed during 2004 and 2005 on pre-release and FCS versions of Solaris 10. For the latest collection of DTrace tools, see the DTraceToolkit, which often contains newer versions of the scripts that originated from this page. For many more scripts, see the DTrace book (Prentice Hall, 2011) pictured below.


Contents


Operating Systems


Guide



DTraceToolkit



DExplorer



Scripts



Troubleshooting Examples

These are examples of performing troubleshooting using DTrace, and often begin by using DTrace at the command line before using DTrace scripts such as the tools above.



DTrace One Liners

These are handy one liners to use at the command line.




DTraceTazTool

Several years ago, Richard McDougall wrote taztool - a GUI to display disk activity in an amazing and intuitive way. It used TNF trace data - a predecessor of DTrace. DTraceTazTool is a DTrace version of taztool. It is currently in development, and as such this is an alpha release. There are many more features to code, but it may already prove a useful tool.



Links


Back to Brendan Gregg's Homepage


Created: 28-Mar-2004
Last updated: 02-Mar-2013 (mention Linux projects)