[rrd-users] Re: Trouble with RRDs::graph

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri Jan 7 00:52:08 MET 2000


M@ Knudson wrote:
> 
> Hi!
> 
> I'm getting a segmentation fault with the following piece of code:
> 
>   my(@args) = (   "/dev/null",
> "DEF:ds0=$rrdfile:ds$dsnum:AVERAGE",
> "DEF:ds1=$rrdfile:ds$dsnum:MAX",
> "CDEF:sds0=ds0,$scale",
> "CDEF:sds1=ds1,$scale",
> "PRINT:sds0:AVERAGE:\%f",
> "PRINT:sds1:MAX:\%f" );
>    ($mmax, undef, undef) = RRDs::graph @args;
> 

Alter "%f" into "%lf"

If it doesn't work then, alter "/dev/null" into "/tmp/dummy".

Hope this helps. If not: Next please!
-- 
   __________________________________________________________________
 / 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 |
+----------------------------------------------------------------------+

--
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



More information about the rrd-users mailing list