Multiplatform library for accessing system resource information [duplicate]

此生再无相见时 提交于 2019-12-11 01:56:58

问题


I need a multiplatform library to determine how much RAM the OS has free, how much of it is installed, how high the CPU usage is and so on. The library should work in both Windows and POSIX environments. Any suggestions?

Edit: I know it's OS-specific by definition; I can write some small library to abstract this on my own, but I'd rather not do this, if there is already some library available.


回答1:


There is almost the same question here, and it has an answer:

https://stackoverflow.com/a/871614/344347



来源:https://stackoverflow.com/questions/10517295/multiplatform-library-for-accessing-system-resource-information

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!