Looking for a library or a fairly cross platform method to get CPU utilization, memory utilization, etc in C/C++. Something OTHER than getrusage(), I need for entire system, not one process. I've checked around, but haven't found much. I really need it on Linux, Mac Os X, and Windows, but if there's a solution for *nix systems (including OS X) but not Windows, I can work around that.
If all else fails, then ANY methods to do this on ANY of the above platforms would be good to know, and I can figure out how to package them myself!
Thanks
The cross platform framework ACE has a wrapper for getrusage that should work on most if not all supported platforms.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With