Re: Counting page faults

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

 



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux