majflt doesn't increase when a process is generating page faults.  Instead, 
the swapper process (pid 0) gets all the page faults and it is the same as 
the page faults given by cnt in vmmeter.c.  Why is this happening?  Is 
there a way to get the number of page faults generated by a SINGLE process?

proc *p;
num_pageflts = p->p_stats->p_ru.majflt

The above doesn't get increased.

Thanks.
Ray,



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to