Hello
iostat on FreeBSD 7.0 reports fractional data:
iostat -Id
ad8 da0 pass0
KB/t xfrs MB KB/t xfrs MB KB/t xfrs MB
29.70 85745240 2486657.99 61.14 390002148 23286765.91 0.00 0 0.00
But diskio rrd uses integers data.
So we need to int() args in sample() functions when calling to
RRDs::update
Matt Burke
FreeBSD
v0.5.0-pre4
Public
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use