什么是一些常见的WMI查询 [英] What are some common WMI queries
问题描述
我正在建立一个C#监视器应用程序,使用WMI来抓取远程计算机的一些性能详细信息。什么是一些好的WMI查询来获取有用的统计信息,如CPU负载,RAM使用情况,HDD可用空间等。
例如,您可以从属性LoadPercentage与查询SELECT * FROM Win32_Processor。
还有一些其他有用的属性&查询?
我认为有点复杂的推荐几个类,特别是因为WMI是广泛的,
- WMI参考
- WMI类
- WMI Win32类
$ b b
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屋!