site_archiver(a)lists.apple.com
Delivered-To: Darwin-dev(a)lists.apple.com
Addendum: See this page for an introduction:
http://developer.apple.com/mac/library/qa/qa2001/qa1123.html
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(a)lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/darwin-dev/below%40mac.com
>
> This email sent to below(a)mac.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (Darwin-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app…
This email sent to site_archiver(a)lists.apple.com
site_archiver(a)lists.apple.com
Delivered-To: Darwin-dev(a)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_sysct…
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(a)lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/darwin-dev/below%40mac.com
>
> This email sent to below(a)mac.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (Darwin-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app…
This email sent to site_archiver(a)lists.apple.com
site_archiver(a)lists.apple.com
Delivered-To: Darwin-dev(a)lists.apple.com
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(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app…
This email sent to site_archiver(a)lists.apple.com
site_archiver(a)lists.apple.com
Delivered-To: darwin-dev(a)lists.apple.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=L+2HneqNlXEldiFt3prAZ17P4aRUW2Oe0+EplY/l1AU=; b=noPeF3r2fqO1f2pV5Mum1+M6A+v76HVAVqe65q21z3RgXqkvnRRmYAnfxNC58sI26Y WWj+fi+n1XArbRECzrlioeZzq74URcpTGqJ/NDeFIAtWr+m8H6/LMlGOymrslGE0+apn jTKte3ltmcBb34zT33Bf12E0EAi3IIt8frwgw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=R1S+BLn5L57+a49t7knQ2Q5JncK1W/AoX9GtwhLF0plqzOfgsQj6s0BuKOv2jQ4Q6h tNCjns5vR1yXoajGI/T1PYGVS4HDIxQ7mLK19R85/XUrOWqtH91zFTLO/qPS9SRULnr6 Hmb74iSLGPAGKbtGgCz7HUArDYvWIKcwcCexk=
> Use the command:
>
> vmmap System\ Preferences
That's exactly what I needed, thanks!
And for anyone else that might be using sample/atos/etc: if atos is
giving incorrect symbol information for a given address, make sure
you're specifying the architecture as an argument. On my system atos
assumes i386 by default.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (Darwin-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app…
This email sent to site_archiver(a)lists.apple.com