# of bytes read/written by process
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Thunderbird 2.0.0.23 (X11/20090825) _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I'm wondering if anyone knows if there is an equivalent capability on mac os to query the number of bytes that a process reads and writes to disk. On Linux you can look in /proc/self/io and find the information there. The documentation in Linux gives the definition for these number as noted below. I'm wondering if this information can be obtained on the mac. thanks, --Corey //----------------------Getting two numbers out of this file // I/O counter: chars read //The number of bytes which this task has caused to be read from storage. This //is simply the sum of bytes which this process passed to read() and pread(). //It includes things like tty IO and it is unaffected by whether or not actual //physical disk IO was required (the read might have been satisfied from //pagecache) // I/O counter: chars written //The number of bytes which this task has caused, or shall cause to be written //to disk. Similar caveats apply here as with rchar. This email sent to site_archiver@lists.apple.com
participants (1)
-
Corey Ernst