Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2001 12:09:41 +0930 (CST)
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Anton Berezin <tobez@tobez.org>
Cc:        hackers@freebsd.org
Subject:   RE: VM statistics per process?
Message-ID:  <XFMail.20010823120941.doconnor@gsoft.com.au>
In-Reply-To: <20010822173753.A11906@heechee.tobez.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20010823120941.doconnor>