On Fri 24 Mar 2006 at 03:59PM, Peter Tribble wrote:
> I added a jfsstat tool to my jkstat package:
>
> http://www.petertribble.co.uk/Solaris/jkstat.html
>
> This was quite easy - once I had decided not to try and show all
> 45 (or so) statistics in a horizontal line of the table all at
> once.
> It's very neat being able to see what's going on!
>
> And I implemented sorting on the table too. That's a nice feature,
> something generally missing from many tools.
Peter this is strong work-- sorting is a key feature for fsstat
which we have also identified.
> One useful aggregate I can think of is in the case of zfs,
> where a per-pool statistic might be useful. (Tricky because
> the pool has an associated filesystem.)
I think what you maybe want is a container-level statistic, which
captures that container and all children-- but this may be too expensive
to do in the kernel-- it could be post-processed in userland though,
I think.
> I also tried to filter per-zone (by parsing /etc/mnttab). This
> worked less well than I expected, as:
> - lofs entries in /etc/mnttab don't have a zone flag
> - the lofs statistics seem only partial - most things seem to
> go right through to the underlying filesystem.
>
> Again, I wonder if the lofs statistics are worthwhile?
Right-- the zones team and Rich are actively engaged in solving this
problem. That said, I don't think we yet know how we'll do it :)
-dp
--
Daniel Price - Solaris Kernel Engineering - dp at eng.sun.com - blogs.sun.com/dp