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. As Dan suggested, I filter out filesystems set to ignore. I also filter out the aggregate (ie. ufs, zfs, nfs) statistics. I'm not at all convinced that having the aggregate statistics helps (and I wonder if there's a performance hit). Normally, I'm interested in per-filesystem activity - so the aggregates aren't useful. If I want them, I can get them by aggregating the filesystem statistics. (This might differ from the aggregate if things have been unmounted, but in that case you need to know the full history to make sense of the numbers.) Presumably the per-fstype statistics are there for a reason? Is there one, because nothing is immediately obvious. 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 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? (I haven't actually tried zones on my test system yet. I'm still working on this...) -- -Peter Tribble L.I.S., University of Hertfordshire - http://www.herts.ac.uk/ http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
