On Mar 5, 2008, at 5:13 PM, Scott.D.R wrote:

Hi everyone.
As the titled mentioned, How to monitor the system status?
Mac OS X provided a very powerful application "Activity Monitor", which can let you inspect the system status such as CPU usage, disk usage, network usage and so on. But how to retrieve these information using APIs?


There are various API's depending on what you want to monitor. You might want to take a look at a project like MenuMeters (http://www.ragingmenace.com/software/menumeters/ ) which provides a fairly comprehensive overview of system status and provides source code so you can see how it was done. I'm sure there's also some Apple example code that demonstrates aspects of this but I can't recall anything that does it all in one project like MenuMeters.

Phil
_______________________________________________

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to