[rrd-users] graphing

Sasha Dolgy sdolgy at birdonawire.com
Tue May 22 22:11:32 MEST 2001


Greetings.

/usr/local/rrdtool-1.0.33/bin/rrdtool graph /tmp/959.2078.0001MBPS.1.png
--start 988689608 --end 990561004 -h 100 \
 --vertical-label "Bits per Second" \
 -c MGRID#ee0000 \
 -c GRID#000000 \
 DEF:in=/tmp/959.2078.0001MBPS.1.rrd:in:AVERAGE \
 DEF:out=/tmp/959.2078.0001MBPS.1.rrd:out:AVERAGE \

 CDEF:uin=in,UN,0,in,IF \
 CDEF:uout=out,UN,0,out,IF  \
 CDEF:fin=uin \
 CDEF:fout=uout \
 CDEF:pin=fin,1000000,/,1,*,1,/ \
 CDEF:pout=fout,1000000,/,1,*,1,/ \

 CDEF:nf=" + ninetyFifth + ",UN,0," + ninetyFifth + ",IF \
 CDEF:nicenf=nf,1000000,/,1,*,1,/ \
 CDEF:maxin=" + maxIn + ",UN,0," + maxIn + ",IF \
 CDEF:maxout=" + maxOut + ",UN,0," + maxOut + ",IF \
 CDEF:cin=" + currentIn + ",UN,0," + currentIn + ",IF \
 CDEF:cout=" + currentOut + ",UN,0," + currentOut + ",IF \

 AREA:fin#00cc00:"Incoming Traffic in Bits per Second" \
 LINE1:fout#0000ff:"Outgoing Traffic in Bits per Second"

The above works however, the portion that has spaces between it (the 6 CDEF
lines)
do not work.  Are there ways to define on a command line different values
that one
would want to use in the graph...?

Hope this makes sense to someone :)  my brain is hurting from all the
reading.

Thanks in advance.

--
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