Re: How can I tell if another process is 32 or 64 bit
Re: How can I tell if another process is 32 or 64 bit
- Subject: Re: How can I tell if another process is 32 or 64 bit
- From: Alexander von Below <email@hidden>
- Date: Sat, 01 May 2010 21:32:28 +0200
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.c
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 (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden