Re: File system activity reporter
Re: File system activity reporter
- Subject: Re: File system activity reporter
- From: Bob Clark <email@hidden>
- Date: Tue, 20 Jun 2006 16:31:52 -0700
At 04:14 PM 6/20/2006, Scott Cudrnak wrote:
Hi all,
What is the appropriate tool to see file system activity? SCO Unix had
a tool that would show file name, accessing process name (or PID?), open
flags, time open, closed, bytes in/out, etc. Anything like this on MacOS
10.4.X? Is there a framework that does this that I can use in code I write?
Check out the "lsof" and "fs_usage" command line utilities. They and their
friends have a lot (all?) of this information.
You may find it easier to wrap an NSTask around them than to use the
underlying APIs; but the man pages for lsof and fs_usage should still point
to some C APIs if you insist on writing your own code. :-)
--Bob
Bob Clark
RealNetworks, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden