Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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"? – user273580 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 ( 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: – magicandre1981 Jun 14 '13 at 17:24

Your Answer


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

Browse other questions tagged or ask your own question.