
On Sun, 6 May 2012, Craig Sanders wrote:
On Sun, May 06, 2012 at 12:46:01AM +1000, Tim Connors wrote:
I have to admit I don't look at them too much at the moment because the systems work without any problems, AFAIK (and more generic nagios baed monitoring tells me).
Maybe I should setup myself a github thingy.
Oh, look at that: https://github.com/spacelama/arcstat
cool, thanks for that. the munin zfs stuff is useful.
have installed it on both my zfs boxes.
kmemsum doesn't seem to work, though.
Yep, I probably should have removed that when I couldn't figure out what it was trying to do, and didn't make an attempt to port it (it was 1am by this stage, and I had to get up early this morning to go see 100 old bonnevilles and triumphs and other lovely historical bikes at Bayles) Other things somewhat only partially work. For instance, take a look at zfsarc-l2 - only gets 2 of the 4 values it was trying to obtain. and ./arc_summary.pl (oops, broke between me testing it and committing it to git - just the #! line), which only prints out a few of the 7 pages, because the eval dies at some divide by zeros. Some of these were ported directly from the original solaris versions, some went via freebsd first. At least freebsd somewhat looks a tiny bit like linux - pity the proc values were put under /proc/spl/kstat instead of /proc/sys/... - then you could just use sysctl instead of fudging around with /proc and filtering out the second column containing the typeinfo. -- Tim Connors