[rrd-users] Re: viewing values

Serge Maandag serge.maandag at staff.zeelandnet.nl
Sun Oct 10 10:46:39 MEST 2004

>  When I do a:
>  rrdtool fetch ./rrddata/mshsevalues.rrd AVERAGE
>  I get all my values returned in exponitial format.  for 
> example I get -89  as -8.9000000e+01.
>  how do I display just "normal" numbers like -89?

For instance, pipe it to awk:

rrdtool fetch ./rrddata/mshsevalues.rrd AVERAGE | awk '{printf "%s %f


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