Qt中如何获取CPU使用率?
我有一个主服务器和 4 台连接的计算机。我怎样才能知道哪台计算机使用了多少CPU和磁盘。
我使用 Qt 和 C++ 编写代码。
I have a main server and 4 computers connected. How can I learn which computer use how much CPU and disk.
I write code using Qt and C++.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Qt 没有这方面的 API。您需要使用平台本机 API。
Qt does not have an API for this. You'll need to use the platforms native API.
也许这可以帮助你:
结果示例:
Maybe this can help you:
Result example: