I need to read system information like CPU/RAM/disks usage in C++. Maybe swap, network and process too but that's less important.
It has probably been done thousand of times before so I first tried to search for a library. Someone here suggested SIGAR, which seems to fit my needs but it has a GPL license and it is for inclusion in a proprietary product. So it's not an option here.
I feel like it's something not that easy to implement, as it'll need testing on several platforms. So a library would be welcome.
If you don't know of any library, could you point me in the right direction for both platforms?