[rrd-users] Graph yearly data
Michael Earls
Michael.Earls at cchmc.org
Fri Feb 6 07:07:15 MET 2004
All,
What is the correct syntax for creating yearly graphs, below is the
syntax I used. I can not get the graph to have the same output as the
monthly image. The monthly graph shows 8-9M of traffic inbound for 6
weeks, the yearly only shows 4M of inbound traffic for Jan.
Thanks for your help in advanced.
Michael
Monthly
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/rrdtool '--start', '-400d',
'-t 100basetx_port_8_32',
'--width=750',
'--height=200',
'--base=1000',
'--alt-autoscale-max',
'-v Kilobytes Per Second',
'DEF:i=100basetx_port_8_32.rrd:ds0:AVERAGE',
'DEF:o=100basetx_port_8_32.rrd:ds1:AVERAGE',
'CDEF:in=i,8,*',
'CDEF:out=o,8,*',
'CDEF:perin=i,100,*,12500000,/',
'CDEF:perout=o,100,*,12500000,/',
'AREA:in#00CF00:Inbound Traffic\: ',
'GPRINT:in:LAST:Current\:%8.2lf%s',
'GPRINT:perin:LAST:(%2.2lf%%)',
'GPRINT:in:AVERAGE:Average\:%8.2lf%s',
'GPRINT:perin:AVERAGE:(%2.2lf%%)',
'GPRINT:in:MAX:Maximum\:%8.2lf%s',
'GPRINT:perin:MAX:(%2.2lf%%)\n',
'LINE2:out#002A97:Outbound Traffic\:',
'GPRINT:out:LAST:Current\:%8.2lf%s',
'GPRINT:perout:LAST:(%2.2lf%%)',
'GPRINT:out:AVERAGE:Average\:%8.2lf%s',
'GPRINT:perout:AVERAGE:(%2.2lf%%)',
'GPRINT:out:MAX:Maximum\:%8.2lf%s',
'GPRINT:perout:MAX:(%2.2lf%%)\n',
'HRULE:0#000000',
'COMMENT:\s',
'COMMENT:Created on February 6, 2004 00:54:21\r',
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yearly
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/rrdtool '--start', '-400d',
'-t 100basetx_port_8_32',
'--width=750',
'--height=200',
'--base=1000',
'--alt-autoscale-max',
'-v Kilobytes Per Second',
'DEF:i=100basetx_port_8_32.rrd:ds0:AVERAGE',
'DEF:o=100basetx_port_8_32.rrd:ds1:AVERAGE',
'CDEF:in=i,8,*',
'CDEF:out=o,8,*',
'CDEF:perin=i,100,*,12500000,/',
'CDEF:perout=o,100,*,12500000,/',
'AREA:in#00CF00:Inbound Traffic\: ',
'GPRINT:in:LAST:Current\:%8.2lf%s',
'GPRINT:perin:LAST:(%2.2lf%%)',
'GPRINT:in:AVERAGE:Average\:%8.2lf%s',
'GPRINT:perin:AVERAGE:(%2.2lf%%)',
'GPRINT:in:MAX:Maximum\:%8.2lf%s',
'GPRINT:perin:MAX:(%2.2lf%%)\n',
'LINE2:out#002A97:Outbound Traffic\:',
'GPRINT:out:LAST:Current\:%8.2lf%s',
'GPRINT:perout:LAST:(%2.2lf%%)',
'GPRINT:out:AVERAGE:Average\:%8.2lf%s',
'GPRINT:perout:AVERAGE:(%2.2lf%%)',
'GPRINT:out:MAX:Maximum\:%8.2lf%s',
'GPRINT:perout:MAX:(%2.2lf%%)\n',
'HRULE:0#000000',
'COMMENT:\s',
'COMMENT:Created on February 6, 2004 00:54:21\r',
Michael Earls
Systems Analyst, Information Services
Cincinnati Children's Hospital Medical Center
Phone: 513-636-5882
Phone: 1-800-344-2462
PGP Info: KeyID 0x5EB59708
Fingerprint 108B A1D8 76F5 08A8 501A F28C 86F4 4BC5 5EB5 9708
--
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