[rrd-users] Re: rrdtool fetch

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri Sep 8 01:24:35 MEST 2000


Daniel R . Kilbourne wrote:
> 
> 
> All,
> I need to pull some stats from rrdtool for some reporting. My problem is, rrdtool fetch returns a value such as : 9.8333333333e+01
> 
> I need it as 98, not in exponential notation. Can rrdtool return it in that form?

Not yet.  I've been working on rrdtool fetch and was very near to the
solution where I could specify `` --printf "%6.2lf" ''.  My programming
skills are far from good and if I can get close, someone else should be
able to do this in an hour.  Specifying "%8.0lf" would give Daniel his
integers and this field width should also be used for the column headers.

please, anybody?

-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list