Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am looking for a counter for Page Faults (major and minor) and Cache Hits and Misses (for every running process) on the windows (8/7/server/legacy) platform. In Linux, there's /proc/vmstat where i can easily extract the values i'm looking for, with the bonus that they're aggregate values and not rates (per second).

I understand that the cache hits and misses might be very architecture specific, but at least for the page faults there should be a general solution.

share|improve this question
    
what do you mean by "via java"? –  Alex Jun 14 '13 at 9:51
    
the output is meant to be used in a java program then, so if there's a framework that is able to read this it could be easily integrated. it doesn't need to be java though, as long as there is a way to somehow allow my java program to read it. i've found Process Explorer (technet.microsoft.com/en-us/sysinternals/bb896653.aspx) to give visual/rates values, but i haven't found an API or anything for this. –  Bernd Kampl Jun 14 '13 at 9:57
    
Windows has performance counters and you can access them from JAVA by following those 2 guides: javaworld.com/javaworld/jw-11-2004/jw-1108-windowspm.html javaworld.com/javaworld/jw-09-2005/jw-0919-windowspm.html technet.microsoft.com/en-us/library/cc768048.aspx –  magicandre1981 Jun 14 '13 at 17:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.