<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dtrace on Major Hayden</title><link>https://major.io/tags/dtrace/</link><description>Recent content in Dtrace on Major Hayden</description><generator>Hugo</generator><language>en</language><managingEditor>major@mhtx.net (Major Hayden)</managingEditor><webMaster>major@mhtx.net (Major Hayden)</webMaster><copyright>All content licensed [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)</copyright><lastBuildDate>Sun, 07 Jun 2026 23:39:03 +0000</lastBuildDate><atom:link href="https://major.io/tags/dtrace/index.xml" rel="self" type="application/rss+xml"/><item><title>Handy hints for using dtrace on the Mac</title><link>https://major.io/p/handy-hints-for-using-dtrace-on-the-mac/</link><pubDate>Sat, 10 Mar 2012 18:49:59 +0000</pubDate><author>major@mhtx.net (Major Hayden)</author><guid>https://major.io/p/handy-hints-for-using-dtrace-on-the-mac/</guid><description>&lt;p&gt;I&amp;rsquo;m a big fan of Linux tools which allow you to monitor things in great detail. Some of my favorites are strace, the &lt;a href="http://sourceware.org/systemtap/"&gt;systemtap&lt;/a&gt; tools, and sysstat. Finding tools similar to these on a Mac is a little more difficult.&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;s a great blog post from Brendan Gregg&amp;rsquo;s blog that covers a lot of detail around dtrace and its related tools:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://dtrace.org/blogs/brendan/2011/10/10/top-10-dtrace-scripts-for-mac-os-x/"&gt;http://dtrace.org/blogs/brendan/2011/10/10/top-10-dtrace-scripts-for-mac-os-x/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;One of the handier tools is &lt;code&gt;iosnoop&lt;/code&gt;. It gives you a much easier to read (and easier to generate) view of the disk I/O on your Mac. If you remember, I talked about how to do this in Linux in the &lt;a href="https://major.io/2010/12/07/tap-into-your-linux-system-with-systemtap/"&gt;systemtap&lt;/a&gt; post as well as the post about &lt;a href="https://major.io/2008/03/11/hunting-down-elusive-sources-of-iowait/"&gt;finding elusive sources of iowait&lt;/a&gt;. This could give you a lot of handy information if you&amp;rsquo;re staring at beachballs regularly while your disk drive churns.&lt;/p&gt;</description></item></channel></rss>