• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to get kind of running process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get kind of running process


  • Subject: How to get kind of running process
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Tue, 03 Apr 2012 17:55:50 +0700

Given a normal app (NOT a kext) (which might run as root if necessary) and the pid of another process, how to I get the information Activity Monitor displays under "Kind", i.e. Intel, Intel 64, PowerPC etc. ?

I looked at sysctl ( CTL_KERN, KERN_PROC, KERN_PROC_PID, pid ) but did not see anything useful.

There is proc_is64bit(), but it seems this is not for normal apps.

What to use?


Kind regards,

Gerriet.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to get kind of running process
      • From: Shantonu Sen <email@hidden>
  • Next by Date: Re: How to get kind of running process
  • Next by thread: Re: How to get kind of running process
  • Index(es):
    • Date
    • Thread