[rrd-users] Re: Inverted graphs?

Daniel VASARHELYI asd at mail.musichello.com
Sun Jan 26 11:53:56 MET 2003

Good idea.
Look at the following example:

rrdtool graph $DIR/ethload-1d.png \
--start -1d -l 0 -a PNG -t "ethernet load averages for past day" \
-v "traffic" -b 1024 \
DEF:in=ethstat.rrd:in:AVERAGE \
DEF:out=ethstat.rrd:out:AVERAGE \
DEF:outbound=ethstat.rrd:out:AVERAGE \
CDEF:inbound=0,in,- \
AREA:outbound#00FF00:"TX" \
AREA:inbound#FF0000:"RX\n" \
GPRINT:in:MIN:"Min in\:  %12.0lf  "\
GPRINT:in:MAX:"Max in\:  %12.0lf  "\
GPRINT:in:AVERAGE:"Avg in\:  %12.0lf\n"\
GPRINT:out:MIN:"Min out\: %12.0lf  "\
GPRINT:out:MAX:"Max out\: %12.0lf  " \
GPRINT:out:AVERAGE:"Avg out\: %12.0lf"

You can see the output at:


Daniel "asd" Vasarhelyi
PGP key avaible at http://asd.musichello.com/gpg-pub.key and public keyservers
Key fingerprint = EA00 AF4D A83C 1122 0967  DDF5 27BC 390F 181F 9954

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