From owner-freebsd-questions Thu Nov 16 7:48:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.161.193]) by hub.freebsd.org (Postfix) with ESMTP id 22D4137B4C5 for ; Thu, 16 Nov 2000 07:48:19 -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 eAGFmId189504 for ; Thu, 16 Nov 2000 10:48:18 -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 <0G4400A9UJWFB2@gkar.cc.vt.edu> for freebsd-questions@freebsd.org; Thu, 16 Nov 2000 10:48:16 -0500 (EST) Date: Thu, 16 Nov 2000 10:57:50 -0500 From: Raymond Law Subject: FreeBSD VM X-Sender: flaw@mail.vt.edu To: freebsd-questions@freebsd.org Message-id: <4.3.0.20001116105701.00b69320@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-questions@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-questions" in the body of the message