Reputation: 689
Using Objective-C\C language I need to gather system activity information (like in Activity Monitor: CPU\Memory usage, network activity and so on). Please, tell me, what facilities (maybe there are some frameworks) I can use for this.
Will be great, if you point me to some article or guide, which describes 'what' and 'why'.
Thanks.
Upvotes: 0
Views: 65
Reputation: 22966
Makes me think of the top
command, which supplies about all info. The source code libtop.c
should be easy to find. Here's one link to get you started.
Upvotes: 1