[rrd-users] gprint correct units
John Stile
john at stilen.com
Mon Dec 21 20:40:20 CET 2009
On Fri, 2009-12-18 at 23:38 +0000, A Darren Dunham wrote:
> On Fri, Dec 18, 2009 at 03:23:32PM -0800, John Stile wrote:
> > I have a rrd with values like: 5.3304700563e+07
> > My gprint line is:
> > GPRINT:backup1: %10.3lf %Sb'
> >
> > I'm trying to print: 53.305 Gb
> > but it always prints: 53.305 Mb
>
> 5.3 x 10^7 => 53 Million => 53 M
>
> So it seems correct to me. Perhaps you want to multiply by 1000 or by
> 1024 before printing?
Very good. I it is working now.
Thank you.
More information about the rrd-users
mailing list