[rrd-users] Re: multiple lines in a graph

Torleiv Flatebo Ringer ringert at consumption.net
Sat Sep 29 06:10:48 MEST 2001


All you need to do is define more data elements (LINE:...), you can prolly
have as many as you like.

This is how I graph my load stats:

rrdtool graph /tmp/17110.1001735635.png 
	--title dayly over.consumption.net load Stats 
	-a PNG 
	--vertical-label load 	
	--width 500 
	--height 200 
	--interlaced 
	--start -86400 
	--units-exponent 1 
	DEF:load1=load1.rrd:load1:AVERAGE 
	DEF:load5=load5.rrd:load5:AVERAGE 
	DEF:load15=load15.rrd:load15:AVERAGE 
	AREA:load1#0000ff:1 min 
	LINE2:load5#ff0000:5 min 
	LINE2:load15#ff00ff:15 min 
	<other irrelavent stuff>

Notice how there are two LINE2 entries and one AREA? You can have
as many of these as you like as long as you use valid DEF or CDEFs for
the target.

Torleiv Ringer

what you said

> 
> Hi all!
> First, sorry about my poor english:)
> Can I plot multiple lines (more than 2 lines) in one graph? If the
> answer is YES, is there any example?
> In other words, how I can plot 3 or more variables (from MIB) in the
> same graph?
> Any point will be welcome.
> Best regards,
> Andrey
> 
> 
> --
> 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
> 

-- 
second gear, redline, bliss


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