I am working on a system monitoring program for Linux and I would like
it to report how many page faults the system had within 5 minutes. I am
programing this in C++ and the getrusage command only dose for the
process or its children. I need to get the amount of faults for the
intire system. Is there a library that handles this, or is there in a
file in the /dev or /proc directory, is there a command line utility
that gets that information. Any Help would be apreacteated.
Thanks.
Todd Fraser