[rrd-users] expand the graphs
Andras Horvai
andras.horvai at keystone.hu
Thu Jan 22 19:02:26 MET 2004
Hi,
It seems that for some reason i'm not able to graph in the proper way negative part of my graph.
Here is what is use to create my graph:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--title="Traffic - composite - Customer (bits/sec)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="core__119.rrd":swin:AVERAGE \
DEF:b="core__175.rrd":swin:AVERAGE \
DEF:c="core__120.rrd":swout:AVERAGE \
DEF:d="core__176.rrd":swout:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
CDEF:cdefi=c,8,*,-1,* \
CDEF:cdefj=c,8,* \
CDEF:cdefbc=d,8,*,-1,* \
CDEF:cdefbd=d,8,* \
AREA:cdefa#00CF00:"Switched in 1\:" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
STACK:cdefe#00A348:"Switched in 2\:" \
GPRINT:cdefe:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefi#002A8F:"Switched out 1\:" \
GPRINT:cdefj:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefj:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefj:MAX:"Maximum\:%8.2lf %s\n" \
STACK:cdefbc#0D006A:"Switched out 2\:" \
GPRINT:cdefbd:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefbd:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbd:MAX:"Maximum\:%8.2lf %s"
And please see the attached graph what this is created. What did i wrong?
Thanks,
Andras
-- Attached file removed by Ecartis and put at URL below --
-- Type: image/jpeg
-- Size: 45k (46253 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/composite.JPG
--
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