// 30.Oct.2009

Record CPU Usage for a Given Process Over Time

Now this is a handy little hack. Over on the Mac OS X Hints site, robg has posted a script that will record the CPU usage of a specified process, with a configurable frequency over a configurable period of time. The script dumps the resulting data into a text file for further analysis/graphing.

I really like this. Very handy for debugging and keeping an eye on rogue processes. This script has a much smaller footprint than the Instruments program from the Xcode Developer Tools.

Last Revision: October 30th, 2009 at 15:44

Comments are closed.