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.
    [EMAIL PROTECTED]           http://hvdkooij.xs4all.nl/
            Don't meddle in the affairs of sysadmins,
            for they are subtle and quick to anger.

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to