• 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: How do I get memory usage numbers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How do I get memory usage numbers? (From: Charlie Dickman <email@hidden>)
 >Re: How do I get memory usage numbers? (From: Jens Alfke <email@hidden>)
 >Re: How do I get memory usage numbers? (From: Charlie Dickman <email@hidden>)

  • Prev by Date: Re: Classes incompatible with weak references
  • Next by Date: Re: __weak pointer collection firing prematurely???
  • Previous by thread: Re: How do I get memory usage numbers?
  • Next by thread: Re: How do I get memory usage numbers?
  • Index(es):
    • Date
    • Thread