Date: Thu, 16 Nov 2000 10:56:59 -0500 From: Raymond Law <flaw@vt.edu> To: freebsd-hackers@freebsd.org Subject: FreeBSD VM Message-ID: <4.3.0.20001116105139.00b63cd0@mail.vt.edu>
next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.0.20001116105139.00b63cd0>