Re: BSD Processes (with code)
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.