On Aug 12, 2012, at 3:21 PM, Charlie Dickman <3tothe...@comcast.net> wrote:

> How do I get system memory usage numbers within my app?

What kind of memory usage numbers? There are a lot of different ones — take a 
look at the man page for 'top', or at all the different views in Activity 
Monitor. And do you want them for all processes or just your own?

(The general answer is to go look up the source to 'top' in the Darwin open 
source repo and see how it does it. It's using some low-level system calls that 
I don't believe are documented otherwise.)

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to