![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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 |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |