[rrd-users] Re: How do I print totals
Clarence Hart
rti1clh at ismd.ups.com
Wed Jul 25 20:18:42 MEST 2001
Owen,
I just tried the following line and it works for all of the datapoints
except the "VERY 1st" and the "VERY last".
>CDEF:totalP=PREV,UN,0,PREV,IF,FromDEF,UN,0,FromDEF,IF,1800,*,+
for example:
time datapoint
------------ ------------
1:00 10
1;30 30
2:00 2
2:30 10
3:00 50
Total should be = 102
but the totalP variable = 42
I'll try to figure out how to add the first and the last datapoints.
Clarence
--
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