Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
OS の空き RAM の量、インストールされている RAM の量、CPU 使用率の高さなどを判断するには、マルチプラットフォーム ライブラリが必要です。ライブラリは、Windows と POSIX 環境の両方で動作するはずです。助言がありますか?
編集:定義上、OS固有であることは知っています。これを自分で抽象化する小さなライブラリを書くことはできますが、利用可能なライブラリが既にある場合は、これを行いたくありません。
ここにほぼ同じ質問があり、答えがあります。
https://stackoverflow.com/a/871614/344347