Re: problem in getting system related information
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com On Mar 31, 2010, at 4:12 AM, Dnyaneshwar Warhade wrote: —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: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... I am trying to make the replica of activity monitor . there are tabs system memory and disk activity Where it gives information about hard disk read/write and in system memory it provides information about Free memory ,wired , active, inactive , used memory ,VM size etc. I've tried a lot to get this information but not able to get all. It'll be better if you can put some focus on it There aren't any Cocoa APIs for this — you'll need lower-level Unix APIs. This has been discussed on other lists like darwin-userlevel. There is at least one open-source Apple component that uses these APIs that you can look at for reference, but I don't remember exactly what it is. (It might be the 'top' tool.) Check the list archives. This email sent to site_archiver@lists.apple.com
participants (1)
-
Jens Alfke