[rrd-users] Re: horizontal line
    Alex van den Bogaerdt 
    alex at ergens.op.het.net
       
    Mon May 22 14:37:39 MEST 2006
    
    
  
On Mon, May 22, 2006 at 02:14:29PM +0200, Pavel Ruzicka wrote:
> > Alternatively, use an existing ds-name and discard it right away,
> > using POP.
> 
> I tried it, but it doesn't works for me:
> push @args, "CDEF:maxbw=fin,POP,$maxbytes,*,8,/";
This is, indeed, an underflow.
After "fin,POP", the stack is empty.
Then you place $maxbytes on the stack.
Then you try to multiply, but multiplication needs two values. There
is only one value on the stack.
> I don't know what now, because HRULE is marked like (deprecated).
This was discussed (very) recently.  HRULE stays.
But there is another reason why you may want to use LINE instead:
HRULE only shows when the Y-axis is large enough.
LINE will _make_ the Y-axix large enough.
In other words: HRULE only shows if the rates approximate $maxbytes
(or if you have --upper-limit set high enough).  LINE will always
show (unless you have a low --upper-limit, and --rigid).
HTH
-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/
--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi
    
    
More information about the rrd-users
mailing list