[rrd-users] Question about RRDTool ..
Jean-Yves Avenard
jyavenard at gmail.com
Fri Mar 21 14:33:38 CET 2008
Hi
On Fri, Mar 21, 2008 at 11:42 PM, Alex van den Bogaerdt
<alex at ergens.op.het.net> wrote:
> Datasource maxdown from RRD modem.rrd
> Take the AVERAGES and store those in variable maxdown
Ahhhh. I see.
So instead I should do:
/usr/local/rrdtool-1.2.27/bin/rrdtool graph images/speedday.png -l 0 \
-t 'Sync Speed - DAILY' \
-x HOUR:1:HOUR:4:HOUR:2:0:%k \
DEF:maxdown=modem.rrd:maxdown:AVERAGE \
DEF:maxdownmax=modem.rrd:maxdown:MAX \
DEF:maxdownmin=modem.rrd:maxdown:MIN \
VDEF:ds2max=maxdownmax,MAXIMUM \
VDEF:ds2avg=maxdown,AVERAGE \
VDEF:ds2min=maxdownmin,MINIMUM \
VDEF:ds2pct=maxdown,LAST \
COMMENT:' ' \
COMMENT:'Maximum ' \
COMMENT:'Average ' \
COMMENT:'Minimum ' \
COMMENT:'Last Value\l' \
LINE1:maxdown#00F000:'Max In. ' \
GPRINT:ds2max:'%5.0lf kb/s' \
GPRINT:ds2avg:'%5.0lf kb/s' \
GPRINT:ds2min:'%5.0lf kb/s' \
GPRINT:ds2pct:' %5.0lf kb/s\l'
thank you all guys for your help.
Jean-Yves
More information about the rrd-users
mailing list