问题描述
我正在尝试获取任务管理器中显示的缓存物理内存.
我可以使用
获得物理内存和空闲内存
System.Management.ManagementClass(Win32_OperatingSystem)
但是我很想获得缓存.
对于如何实现这一目标的任何见解将不胜感激
我试图以Windows形式在Microsoft服务器上运行此操作.
我不需要缓存任何东西,只需要具有任务管理器中显示的相同的缓存值即可.
I am trying to get the Cached physical memory like what is displayed in the task manager.
I was able to get the physical memory and the free memory using
System.Management.ManagementClass(Win32_OperatingSystem)
but i am suck on getting the cached.
Any insight on how to achieve this would be greatly appreciated
I am trying to do this in a windows form that will be running on Microsoft servers.
I dont need to cache anything i just need to have the same cache value that is shown in the task manager.
推荐答案
这篇关于在任务管理器中获取“像性能一样的缓存内存"选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!