Re: how to monitor the system status?
Re: how to monitor the system status?
- Subject: Re: how to monitor the system status?
- From: Phil <email@hidden>
- Date: Wed, 5 Mar 2008 11:09:41 -0500
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 (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