Re: How do I get memory usage numbers?
Re: How do I get memory usage numbers?
- Subject: Re: How do I get memory usage numbers?
- From: Jens Alfke <email@hidden>
- Date: Mon, 13 Aug 2012 08:58:57 -0700
On Aug 12, 2012, at 7:10 PM, Charlie Dickman <email@hidden> wrote:
> Initially I'm interested in system wide memory usage (free, wired,active, inactive)
Hm, I've always found those numbers to be nearly useless, but YMMV.
> If hacking through Darwin is the only way to do this than never mind but with all of the programs out there that include these numbers there must be a better way to find out how it's done.
It's not 'hacking' exactly, just a bunch of low-level C APIs with too few vowels in their names. If you've ever used sysctl or ioctl it's the same genre. I'm fairly sure that's what everyone uses, because every time this question comes up, the advice is to go look at 'top'.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden