Re: Tools better than vmstat [was: 2.4.9-ac16 good perfomer?]

Mike Fedyk (mfedyk@matchmail.com)
Fri, 28 Sep 2001 14:53:24 -0700


On Fri, Sep 28, 2001 at 09:04:53PM +0100, Russell King wrote:
> On Fri, Sep 28, 2001 at 12:34:55PM -0700, Mike Fedyk wrote:
> > I read not too long ago about someone mentioning a patch that lists the ages
> > of pages via a proc interface...
>
> I have a patch that dumps out all sorts of information on sysrq-g and
> sysrq-h, including page ages as you describe above. Rik has this patch,
> but you really do need a serial console and not a lot of RAM to use it
> (or a lot of patience).
>

Hmm.

Ok, can someone tell me how many different ages there can be in the VM?

I'm thinkin of a tool (vm-page-stat?) that will list the percentage of pages
at a specific (or if there are more than ~10 page ages possible, it could
use ranges...) age much like vmstat does now.

Is there any possibility of using Russell's patch for this user space tool?
Maybe Russel's patch could have a proc interface that vm-page-stat would
read to get a snapshot?

It would certainly be more helpful than vmstat alone...

Comments?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/