| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Am 24.01.2006 um 11:10 schrieb Jonas Maebe:
I am aware of lsof, but for what I am doing I think lsof is overkill. I thought if sysctl offers an easier and (performance wise) cheaper way, I would love to go with that. It appears that the sysctl method is deprecated, at least filehead and similar structures are no longer found in the 10.4 SDK. Does someone have more info on this What I really need is just a very stripped down version of lsof, basically even a slimmed version of dproc.c, but I was so far unable to find documentation on the kread method used there. Maybe that is just a guise for sysctl? If someone would be willing to help me on my way with that it would be great. The other option would be to call lsof and parse the output, but so far I did not even find an option to limit the output to VREG types. If someone has that, it might help already. Thanks Alex |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden This email sent to email@hidden
| References: | |
| >Re: How to list all files opened by a process on the Mac OS X? (From: Alexander von Below <email@hidden>) | |
| >Re: How to list all files opened by a process on the Mac OS X? (From: Alexander von Below <email@hidden>) | |
| >Re: How to list all files opened by a process on the Mac OS X? (From: Jonas Maebe <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.