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: Terry Lambert <email@hidden>
- Date: Sat, 01 May 2010 18:06:02 -0700
But if you use this method instead of libproc, expect to break in the
next release because data interfaces are definitionally fragile. Also
libproc is not a supported interface at this time (see the header file).
What reasonable reason do you have for this? You are aware that 32 bit
will be deprecated at some point for performance reasons, right?
-- Terry
On May 1, 2010, at 12:32 PM, Alexander von Below <email@hidden> wrote:
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
_______________________________________________
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