2024-06-16 11:04:58 发布
网友
我们正在使用timgolden的wmipythonhooks来报告Windows系统状态的状态,以尝试向我们的Linux服务器获取类似的报告。在
我们目前正在从“Win32操作系统”类调用中提取“FreePhysicalMemory”和“TotalVisibleMorySize”。在
我们的问题是内存通常是100%的容量。在
有没有一种合理的方法,使用WMI/WMQ来确定Windows服务器是否正在交换?在
在浏览了各种内存类之后,以下内容至少可以提供交换的指示:
SELECT PagesPersec FROM Win32_PerfFormattedData_PerfOS_Memory
根据wmifun.net,PagesPersec是
Pages/sec is the rate at which pages are read from or written to disk to resolve hard page faults. This counter is a primary indicator of the kinds of faults that cause system-wide delays
我们暂时会这么做。在
在浏览了各种内存类之后,以下内容至少可以提供交换的指示:
根据wmifun.net,PagesPersec是
我们暂时会这么做。在
相关问题 更多 >
编程相关推荐