On May 15, 2010, at 9:44 AM, Ken Thomases wrote: > Probably easier and more productive to use Instruments and the File Activity > instrument.
Hmm. Looking at that instrument in detail, it's not clear that it catches all file descriptors. In particular, it seems to only track the open() system call (and its variants). It doesn't seem to track the socket() or pipe() calls, etc. You can modify it to do so. Double-click the instrument in the session window to see its details. This takes a bit more know-how, though, so it's not quite as nice. If you don't want to go that route, then fs_usage may be another alternative that's probably still more helpful than lsof. Cheers, Ken _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com