什么是一些常见的WMI查询 [英] What are some common WMI queries

查看:182
本文介绍了什么是一些常见的WMI查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在建立一个C#监视器应用程序,使用WMI来抓取远程计算机的一些性能详细信息。什么是一些好的WMI查询来获取有用的统计信息,如CPU负载,RAM使用情况,HDD可用空间等。



例如,您可以从属性LoadPercentage与查询SELECT * FROM Win32_Processor。



还有一些其他有用的属性&查询?

解决方案

我认为有点复杂的推荐几个类,特别是因为WMI是广泛的,




I'm building a C# monitor app which uses WMI to grab some performance details of a remote computer. What are some good WMI queries to grab helpful stats such as CPU load, RAM usage, HDD free space, etc.

For example, you can get the CPU load from the property "LoadPercentage" with the query "SELECT * FROM Win32_Processor".

What are some other useful properties & queries?

解决方案

I think it's a bit complicated recommend a couple of classes in particular because the WMI is extensive and depends on the type of information you wish to obtain.

My recommendation is that you see the following links.

这篇关于什么是一些常见的WMI查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆