----- Original Message -----
> Nathan,
>
> On 3/4/13 3:40 PM, Nathan Scott wrote:
> >> I wasn't able to get the linux pmda to report any swap
> >> activity
> >> without the attached patch. Not sure if this is the right way to
> >> go
> >> about it, but it seems to work for us.
> > Just so I can reproduce it locally, what was the test case you were
> > using? Is something like "pminfo -f swap" enough to show the issue
> > (if so, can you send the output you're observing)?
> >
> Sure. While a machine is actively swapping, before the patch:
>
Thanks! I'm looking into it; this area is a bit messy as it attempts
to deal with /proc/vmstat not existing in earlier kernels, evidently
getting it wrong (in Kens example, swap.in should be seeing an error,
by my reading of the code).
I do think your patch will be necessary as a first step. It would be
simpler if it used access(2), however - could you resend it with that
change? Should be a one-liner then.
Thanks!
--
Nathan
|