mharsch / arcstat

uses Perl to extract, format, and display kstats from the ZFS ARC
67 stars 31 forks source link

Partially broken on OmniOS v11 r151014 #14

Open ghost opened 9 years ago

ghost commented 9 years ago

When running, the following is output:

Use of uninitialized value in division (/) at ./arcstat.pl line 330.

If you go to line 330 and comment out $v{"rmiss"} = $d{"recycle_miss"}/$int; it'll run without any issues. This is probably not what you want to do though? ;)

mharsch commented 9 years ago

could you try changing line 330 'rmiss' to 'rmis' and retest?

ghost commented 9 years ago

Same result when changing $v{"rmiss"} to $v{"rmis"} also the same when changing $d{"recycle_miss"}/$int to $d{"recycle_mis"}/$int

mharsch commented 9 years ago

looks like the arc kstats were changed here: illumos/illumos-gate@244781f10dcd82684fd8163c016540667842f203

mharsch commented 9 years ago

see also: https://www.illumos.org/issues/5564