summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5e69746)
raw | patch | inline | side by side (parent: 5e69746)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 30 Oct 2008 14:32:42 +0000 (14:32 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 30 Oct 2008 14:32:42 +0000 (14:32 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1639 a5681a0c-68f1-0310-ab6d-d61299d08faa
doc/cdeftutorial.pod | patch | blob | history |
diff --git a/doc/cdeftutorial.pod b/doc/cdeftutorial.pod
index cced74aa4613855359fbb13c0489473e87347c86..2cfe586908c50d09cc7b3168d57899fc30554231 100644 (file)
--- a/doc/cdeftutorial.pod
+++ b/doc/cdeftutorial.pod
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: