Re: Memory usage from PID

2011-11-16 Thread Jens Alfke
On Nov 16, 2011, at 10:05 AM, Don Quixote de la Mancha wrote: > Your memory space is divided into several sections. > > The .bss section stores your uninitialized global and static data, as > well as data that is initialized to zero... Whoa — this info-dump is total overkill for what the OP is

Re: Memory usage from PID

2011-11-16 Thread Don Quixote de la Mancha
Your memory space is divided into several sections. The .bss section stores your uninitialized global and static data, as well as data that is initialized to zero. Actually it is all initialized to zero, it's just that data is put there and initilized to zero if you don't initalize it to some oth

Re: Memory usage from PID

2011-11-16 Thread Jens Alfke
On Nov 16, 2011, at 8:45 AM, TomJones wrote: > How would I go about getting an apps memory usage via a PID? There’s a low-level API for getting info like this about processes. The standard response I’ve seen is “go to the darwin source archive and download the code for the top tool to see how

Memory usage from PID

2011-11-16 Thread TomJones
Hello, How would I go about getting an apps memory usage via a PID? Thanks, tom ___ 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)li