• 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
Re: BSD Processes (with code)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BSD Processes (with code)


  • Subject: Re: BSD Processes (with code)
  • From: email@hidden
  • Date: Mon, 5 May 2003 22:13:16 +0200

On lundi, mai 5, 2003, at 09:42 PM, Daniele M. wrote:

Hello,

I have found on the net a piece of code that allow to me to receive a
list of the MacOSX active processes. Now i have "adapted" it to work
with an ObjC program. Unfortunatly i don't know much about this
things... the only thing that i receive is the PID of the process and
the name of it.
I would to know:
1) the % of cpu used
2) the % of memory used
3) the total free memory
4) the total used memory
5) show only the current user processes

One solution could be to have a look at the source code for top in the Darwin repository.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >BSD Processes (with code) (From: "Daniele M." <email@hidden>)

  • Prev by Date: BSD Processes (with code)
  • Next by Date: size of NSData and NSString
  • Previous by thread: BSD Processes (with code)
  • Next by thread: size of NSData and NSString
  • Index(es):
    • Date
    • Thread