• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: File system activity reporter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >File system activity reporter (From: Scott Cudrnak <email@hidden>)

  • Prev by Date: File system activity reporter
  • Next by Date: What are your plans for WWDC?
  • Previous by thread: File system activity reporter
  • Next by thread: Re: File system activity reporter
  • Index(es):
    • Date
    • Thread