Re: Posix error 24
Re: Posix error 24
- Subject: Re: Posix error 24
- From: Ken Thomases <email@hidden>
- Date: Sat, 15 May 2010 10:00:05 -0500
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 (email@hidden)
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:
This email sent to email@hidden