Archive for the ‘macosx’ Category

Control T for TENEX

I recently wrote about FreeBSD, and while on that OS I ran “sleep 5″ then hit Control-T: freebsd10$ sleep 5 load: 0.67 cmd: sleep 90628 [nanslp] 0.92r 0.00u 0.00s 0% 1464k sleep: about 4 second(s) left out of the original 5 Wow! This prints the “load:” and “sleep:” status lines, showing information about the process. [...]

Posted on October 5, 2013 at 9:26 am by Brendan Gregg · Permalink · Comments Closed
In: FreeBSD, macosx, TENEX, TOPS-10, TOPS-20

The USE Method: Mac OS X Performance Checklist

This is my example USE Method-based performance checklist for the Apple Mac OS X operating system, for identifying common bottlenecks and errors. This draws upon both command line and graphical tools for coverage, focusing where possible on those that are provided with the OS by default, or by Apple (eg, Instruments). Further notes about tools [...]

Posted on September 18, 2013 at 11:37 pm by Brendan Gregg · Permalink · Comments Closed
In: DTrace, Mac OS X, macosx, performance, usemethod

OpenZFS: the next phase of ZFS development

I’ve been watching ZFS from moments after its inception at the hands of Matt Ahrens and Jeff Bonwick, so I’m excited to see it enter its newest phase of development in OpenZFS. While ZFS has long been regarded as the hottest filesystem on 128 bits, and has shipped in many different products, what’s been most [...]

Posted on September 16, 2013 at 7:00 pm by ahl · Permalink · Comments Closed
In: FreeBSD, illumos, Linux, macosx, MattAhrens, OpenZFS, ZFS

DTracing in Anger

My Macbook has becomeso sluggish that it feels like I’m typing ove a 9600 baud modem aagn. Or 2400. It’s alo droping keystokes – which is irritatng as hll – so please forgive theapparent tyos and mistakes. It comes and goes each minute, so thiswhole post isn’t too bad. Usually I cn see what’s wrng [...]

Posted on November 14, 2012 at 11:04 pm by Brendan Gregg · Permalink · Comments Closed
In: DTrace, macosx, performance

Top 10 DTrace scripts for Mac OS X

Since version 10.5 “Leopard”, Mac OS X has had DTrace, a tool used for performance analysis and troubleshooting. It provides data for Apple’s Instruments tool, as well as a collection of command line tools that are implemented as DTrace scripts. I’m familiar with the latter as I wrote the originals for the DTraceToolkit, which Apple [...]

Posted on October 10, 2011 at 9:39 am by Brendan Gregg · Permalink · Comments Closed
In: DTrace, macosx, top10