On 14 Mar 2012, at 06:09, Gerriet M. Denkmann wrote:

> Is there a Cocoa method which gives me to any (physical) memory address the 
> status - like "used by process a" or: "shared by processes a, b, ..., z" or 
> "free"?
> 
> And also I would like to know, which processes have things swapped out.
> 
> If there is no Cocoa way, any C-Api would be welcome as well.
> 
> Or, if this is altogether off-topic for Cocoa: what other list would be more 
> appropriate?
> 
> 
I think that the sysctl(3) function would be the place to start.
That and the source to top(1).

There are a few wrappers about but they may not expose the exact information 
that you require.

Regards

Jonathan Mitchell
Mugginsoft LLP

_______________________________________________

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