[rrd-users] calculate change / graph change between last and last-1

John Stile john at stilen.com
Tue Dec 22 20:03:45 CET 2009


Is it a mistake to want to plot the difference between stored data
values?

On Mon, 2009-12-21 at 11:52 -0800, John Stile wrote:
> I have a graph which shows the size of my server backups.
> 
> I would like to add to the ledgend (and maybe graph) the change in size
> from the last backup.
> 
> Do I define a vdef for size,LAST and a vdef for LAST-1, 
> then calculate a cdef of the difference
> then a vdef of cdef of the difference, 
> and finally a gprint of the vdef?
> 
> How do I get LAST-1?
> 
> Is there a better way?
> 
> 
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users



More information about the rrd-users mailing list