<div class="gmail_quote"><div>Whoa, not so fast. TOTAL is available for VDEF only so I can calculate the total for the whole graph only. Still don't see a way to do the same for each aggregation step shown on the graph.</div>
<div>If there was some variable representing graph's time resolution I could use it for calculating sums the way you described</div><div>CDEF:total=myvalue,GRAPHRESOLUTIONSECS,*</div><div>R</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><div class="gmail_quote">Yes, I was considering this too, but could not find out how to perform that calculation.<div>But it appears nothing special is necessary - theres TOTAL operation available for CDEFs </div>
<div>
<a href="http://oss.oetiker.ch/rrdtool/doc/rrdgraph_rpn.en.html#ITOTAL" target="_blank">http://oss.oetiker.ch/rrdtool/doc/rrdgraph_rpn.en.html#ITOTAL</a> </div>
<div>hopefully that's all I need</div><div><br></div><div><div class="gmail_quote">On Sun, May 20, 2012 at 9:49 AM, Simon Hobson <span dir="ltr"><<a href="mailto:linux@thehobsons.co.uk" target="_blank">linux@thehobsons.co.uk</a>></span> wrote:<div>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Rafal Gwizdala wrote:<br>
<br>
</div>Multiply by the consolidation period. Eg, if you had 1/second over<br>
1/2 hour (1800 secopnds) then the rate is 1, the total is 1 x 1800.<br>
If printing totals under the graph, I think there is now a total<br>
function in the RPN.<br>
<div><div><br>
--<br>
Simon Hobson<br>
<br>
Visit <a href="http://www.magpiesnestpublishing.co.uk/" target="_blank">http://www.magpiesnestpublishing.co.uk/</a> for books by acclaimed<br>
author Gladys Hobson. Novels - poetry - short stories - ideal as<br>
Christmas stocking fillers. Some available as e-books.<br>
<br>
_______________________________________________<br>
rrd-users mailing list<br>
<a href="mailto:rrd-users@lists.oetiker.ch" target="_blank">rrd-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br>
</div></div></blockquote></div></div><br></div>
</div><br>
</div></div></blockquote></div><br>