FROM : Phil
DATE : Wed Mar 05 17:09:41 2008
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
DATE : Wed Mar 05 17:09:41 2008
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
| Related mails | Author | Date |
|---|---|---|
| Ken Thomases | Mar 5, 17:02 | |
| Phil | Mar 5, 17:09 | |
| Scott.D.R | Mar 5, 23:13 |






Cocoa mail archive

