• 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: Determining disk activity per volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining disk activity per volume


  • Subject: Re: Determining disk activity per volume
  • From: Michael Smith <email@hidden>
  • Date: Sat, 7 Oct 2006 01:59:11 -0700


On Oct 6, 2006, at 6:37 PM, Rick Mann wrote:
On Oct 6, 2006, at 16:14 , Thulli wrote:

Option 1. If you are interested only in read and write system calls and don't want to do polling, take a look at this.
http://developer.apple.com/technotes/tn2005/tn2127.html. You need to write a kauth hook and user land client process. If the kauth hook kext could provide a device interface, then the user land client can block on a "read(/dev/yourKauthDevice)" and process what you read with no polling.

Oooh! This might work very well.

No, it will work very badly. Please look at the iostat code I referenced yesterday. If you don't follow my advice, please at least let us know the name of your product so that I can avoid it like the plague.


 = Mike


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Determining disk activity per volume
      • From: Rick Mann <email@hidden>
    • Re: Determining disk activity per volume
      • From: Rick Mann <email@hidden>
References: 
 >Determining disk activity per volume (From: Rick Mann <email@hidden>)
 >Re: Determining disk activity per volume (From: Thulli <email@hidden>)
 >Re: Determining disk activity per volume (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Re: Determining disk activity per volume
  • Next by Date: Re: Determining disk activity per volume
  • Previous by thread: Re: Determining disk activity per volume
  • Next by thread: Re: Determining disk activity per volume
  • Index(es):
    • Date
    • Thread