Re: How can I tell if another process is 32 or 64 bit
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com sysctl will probably give you that info. Check the call for CTL_KERN, KERN_PROC, and the returned struct extern_proc While I do not know which flag to check exactly, this piece of code may help you: http://www.opensource.apple.com/source/xnu/xnu-792.12.6/bsd/kern/kern_sysctl... Alex Am 01.05.2010 um 21:16 schrieb Matthew Mashyna:
I have an app that acts as a monitor for some other critical apps and one thing the spec calls for is the need to look at other running apps and figure out if they are running in 32 or 64 bit mode. The Activity monitor knows this. How can I find a process's bit-ness?
Thanks, Matt
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/below%40mac.com
This email sent to below@mac.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Alexander von Below