On Thu, Oct 10, 2002 at 09:52:55AM -0400, Carter, Steve wrote:
> Hi,
>  
> I am plotting graphs on traffic usage in and out of a router.  I would also
> like to be able to show the Min, Max and Ave in bits/second on the graph as
> well underneath the plot.

I guess that you mean the legend when you say "underneath the plot" ?

"on the graph" would indicate you want to draw a line, right?

Just use "rrdtool graph ...... PRINT...."
without doing any graphics.

(PRINT is just like GPRINT however it prints ascii to stdout
in stead of on the image/in the legend)


Now collect the numbers you just created, use them in the second
invocation of "rrdtool graph ...."

Use: HRULE:$somevar#FF0000:"Maximum incoming"
in the 2nd rrdtool invocation where $somevar is evaluated before
RRDtool sees it (so: rrdtool gets a number).

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