[rrd-users] Re: Graph problem when using a more complicated CDEF

Hugo van der Kooij hvdkooij at vanderkooij.org
Tue Apr 15 22:13:50 MEST 2003


On Tue, 15 Apr 2003, Bas Rijniersce wrote:

> Hello,
> 
> I want to plot total memory and used memory. I put 4 values in the rrd
> 
> memtot
> memfree
> swaptot
> swapfree
> 
> I want to plot an area memtot and stack swaptot on it
> Over that i draw a line2 of (swaptot-swapfree)+(memtot-memfree)
> 
> As a test I used CDEF:memuse=memtot,memfree,- on the stacked areas, that
> worked fine. But when I change the statement to:
> CDEF:memuse=memfree,swapfree,memtot,swaptot,+,-,-

This reads like:

	memuse = (memtot+swptot) - swapfree - memfree

If I am not mistaken.

Hugo.

-- 
 All email sent to me is bound to the rules described on my homepage.
    hvdkooij at vanderkooij.org		http://hvdkooij.xs4all.nl/
	    Don't meddle in the affairs of sysadmins,
	    for they are subtle and quick to anger.

--
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