From owner-freebsd-hackers Thu Nov 16 7:47:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.161.193]) by hub.freebsd.org (Postfix) with ESMTP id EDA5737B4C5 for ; Thu, 16 Nov 2000 07:47:28 -0800 (PST) Received: from mail.vt.edu (gkar.cc.vt.edu [198.82.161.190]) by lennier.cc.vt.edu (8.11.0/8.11.0) with ESMTP id eAGFlRd189874 for ; Thu, 16 Nov 2000 10:47:27 -0500 (EST) Received: from flaw.vt.edu ([198.82.82.148]) by gkar.cc.vt.edu (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0G4400AMYJV068@gkar.cc.vt.edu> for freebsd-hackers@freebsd.org; Thu, 16 Nov 2000 10:47:24 -0500 (EST) Date: Thu, 16 Nov 2000 10:56:59 -0500 From: Raymond Law Subject: FreeBSD VM X-Sender: flaw@mail.vt.edu To: freebsd-hackers@freebsd.org Message-id: <4.3.0.20001116105139.00b63cd0@mail.vt.edu> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 4.3 Content-type: text/plain; format=flowed; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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