Get Process Total Page Faults
-
03-07-2021 - |
Question
Both Task Manager and SysInternals Process Explorer show the total amount of a process's page-fault, but all Performance Counters and WMI objects I found show only Page-Faults per second,
Is there a different API or some obscure performance counter that does show the total amount of Page-Faults for a certain process? (on Windows)
Solution
GetProcessMemoryInfo
's PROCESS_MEMORY_COUNTERS
has a count in PageFaultCount
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow