[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Counting page faults



On Fri, 06 Jun 2008 16:54:05 +0200
Carlo Bertoldi <mcbain@xxxxxxxxxx> wrote:

> Hi,
>   I was looking at do_page_fault function, and I noticed these two 
> instruction: tsk->min_flt++ and tsk->maj_flt++
> These are task related, but is it possible to count the page faults at 
> system level?

Check /proc/vmstat

pgfault 33017172
pgmajfault 1491

-- 
All rights reversed.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ