Hi Jo, 400m = 400mili = 0.4
http://www.simetric.co.uk/siprefix.htm cheers tobi > Steps to reproduce: > > 1. Build an RRD datafile with any RRAs you like. > 2. Update the RRD datafile with a value of "1" some number of times. > 3. Build an rrdgraph with this definition > > DEF:ds0=/data/rrd/datafile.rrd:ds0:AVERAGE > CDEF:ds0amps=ds0,10,/ > AREA:ds0amps#00ff00:"amps" > GPRINT:ds0:AVERAGE:"Real value\: %.1lf" > GPRINT:ds0amps:AVERAGE:"Average\: %.1lf" > GPRINT:ds0amps:MAX:"Max\: %.1lf" > > rrdtool fetch datafile.rrd AVERAGE > > 1140659100: 1.0000000000e+00 1.0000000000e+00 > 1140660000: 1.0000000000e+00 1.0000000000e+00 > 1140660900: 1.0000000000e+00 1.0000000000e+00 > 1140661800: 1.0000000000e+00 1.0000000000e+00 > 1140662700: 1.0000000000e+00 1.0000000000e+00 > 1140663600: 1.0000000000e+00 1.0000000000e+00 > 1140664500: 1.0000000000e+00 1.0000000000e+00 > 1140665400: 1.0000000000e+00 1.0000000000e+00 > 1140666300: 1.0000000000e+00 1.0000000000e+00 > 1140667200: 1.0000000000e+00 1.0000000000e+00 > 1140668100: 1.0000000000e+00 1.0000000000e+00 > 1140669000: 1.0000000000e+00 1.0000000000e+00 > > POSTNOTE: > > More testing confirms that any number less than 1 is a problem. > Multiplying by .1 creates the same effect. Dividing 2 by 5 gives you > 400m, etc. It's just plain borken ;-) > > -- ______ __ _ /_ __/_ / / (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich / // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach /_/ \.__/_.__/_/ http://people.ee.ethz.ch/oetiker +41(0)44-632-5286 -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
