From owner-freebsd-hackers Wed Aug 22 19:39:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id 0A47B37B406 for ; Wed, 22 Aug 2001 19:39:51 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (root@spare0.gsoft.com.au [203.38.152.114]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id MAA06809; Thu, 23 Aug 2001 12:09:41 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.7 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010822173753.A11906@heechee.tobez.org> Date: Thu, 23 Aug 2001 12:09:41 +0930 (CST) From: "Daniel O'Connor" To: Anton Berezin Subject: RE: VM statistics per process? Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 22-Aug-2001 Anton Berezin wrote: > will provide me with the number of resident pages. But I'd like to be > able to also get the number of active and inactive pages belonging to a > particular process. What should I do in order to get this information? The mincore() system call does this (the manpage in -stable is wrong, but may have recently been fixed?). You could steal the code from that I guess. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message