Deji Akinyemi
2007-11-03 02:12:58 UTC
Been trying to monitor the amount of memory being used by a process using
WMI, specifically utilizing the
Win32_Process, and the Win32_PerfFormattedData_PerfProc_Process classes. I
can't seem to find a perf counter for instance, WorkingSet, PrivateBytes,
VirtualSize...etc whose values match those I see in task manager for the
same process.
Task manager states that is reporting the "private working set" memory, but
not even values from PrivateBytes under
Win32_PerfFormattedData_PerfProc_Process match this.
Can I indeed monitor memory usage using WMI on a per process granularity, or
is there perhaps some other
way I can go about doing this.
Will greatly appreciate any pointers. Thanks!
Deji
WMI, specifically utilizing the
Win32_Process, and the Win32_PerfFormattedData_PerfProc_Process classes. I
can't seem to find a perf counter for instance, WorkingSet, PrivateBytes,
VirtualSize...etc whose values match those I see in task manager for the
same process.
Task manager states that is reporting the "private working set" memory, but
not even values from PrivateBytes under
Win32_PerfFormattedData_PerfProc_Process match this.
Can I indeed monitor memory usage using WMI on a per process granularity, or
is there perhaps some other
way I can go about doing this.
Will greatly appreciate any pointers. Thanks!
Deji