X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Fcdeftutorial.pod;h=72d18070f2c2a5462e4f091a1f381c9817fbed58;hb=f9e62abf5664d61987e111e4f1f9388e506a10ff;hp=6a45ef4a0d4fcf5aa1e9288ba7bc3ec1d1960e1c;hpb=5fc7ff89bdbced9c593c566fea9840a269935dcd;p=rrdtool.git diff --git a/doc/cdeftutorial.pod b/doc/cdeftutorial.pod index 6a45ef4..72d1807 100644 --- a/doc/cdeftutorial.pod +++ b/doc/cdeftutorial.pod @@ -617,7 +617,7 @@ numbers (or zero) only. Let's compile the complete CDEF: DEF:ds0=router1.rrd:AVERAGE - CDEF:ds0modified=TIME,begintime,GE,TIME,endtime,LE,*,UNKN,ds0,IF + CDEF:ds0modified=TIME,begintime,GT,TIME,endtime,LE,*,ds0,UNKN,IF This will return the value of ds0 if both comparisons return true. You could also do it the other way around: @@ -749,7 +749,7 @@ as follows: 5. push 32 6. push function "plus" and process it the stack contains now the temperature in Fahrenheit - + =head2 Changing unknown into zero rrdtool graph demo.png --title="Demo Graph" \