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: http://asd.musichello.com/stats/ethload-1d.png asd -- 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
