Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Process Total Page Faults

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)

like image 460
Quazy Avatar asked Mar 07 '26 17:03

Quazy


1 Answers

GetProcessMemoryInfo's PROCESS_MEMORY_COUNTERS has a count in PageFaultCount.

like image 54
Alex K. Avatar answered Mar 10 '26 06:03

Alex K.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!