I need to get process information in a C / C ++ program. I need at least basic things, such as CPU and memory utilization, but additional data will also be useful.
The problem is that I need to use this information in a portable program that will work on several platforms: windows, linux, MAC, and possibly Solaris.
Is there a library that I can use, or do I need to write my own HAL for different platforms? I tried to look at google, but I did not see anything obvious.
c ++ memory-management operating-system system cpu-usage
user142968
source share