arcstat icon indicating copy to clipboard operation
arcstat copied to clipboard

Partially broken on OmniOS v11 r151014

Open ghost opened this issue 10 years ago • 4 comments

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? ;)

ghost avatar Jun 09 '15 20:06 ghost

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

mharsch avatar Jun 09 '15 21:06 mharsch

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

ghost avatar Jun 09 '15 22:06 ghost

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

mharsch avatar Jun 10 '15 14:06 mharsch

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

mharsch avatar Jul 13 '15 19:07 mharsch