Hi, thanks for the help, I am still not having any luck. Here is my new complete command. When I run it, I see:
[EMAIL PROTECTED] rrd]# sh command 481x224 [EMAIL PROTECTED] rrd]# I am expecting rrdrool to print the GPRINT's to the std out. The .png file is created with this command but no output except the file dimensions. Am I still doing something wrong? Rick --- rrdtool graph dummy.png -s -86400 \ "DEF:transmit2=9889208.rrd:transmit_bytes:AVERAGE" \ "DEF:receive2=9889208.rrd:receive_bytes:AVERAGE" "CDEF:transmit=transmit2,8,*" \ "CDEF:receive=receive2,8,*" \ "GPRINT:transmit:MAX: Max\: %5.1lf %S" "GPRINT:transmit:AVERAGE: Avg\: %5.1lf %S" \ "GPRINT:transmit:LAST: Current\: %5.1lf %Sbits/sec\n" \ "GPRINT:receive:MAX: Max\: %5.1lf %s" "GPRINT:receive:AVERAGE: Avg\: %5.1lf %S" \ "GPRINT:receive:LAST: Current\: %5.1lf %Sbits/sec\n" "CDEF:treceive=receive2,UN,0,receive2,86400,*,IF" \ "CDEF:ttransmit=transmit2,UN,0,transmit2,86400,*,IF" "CDEF:combined=treceive,ttransmit,+" \ GPRINT:combined:AVERAGE:"%8.2lf %s Bytes\n" \ GPRINT:treceive:AVERAGE:"%8.2lf %s Bytes\n" \ GPRINT:ttransmit:AVERAGE:"%8.2lf %s Bytes\n" > Rick, > > the second argument to graph must be the filenme for the graph, > even when it is not generated ... so > > rrdtool graph dummy.png -s -86400 \ > "DEF:transmit2=9889208.rrd:transmit_bytes:AVERAGE" \ > "DEF:receive2=9889208.rrd:receive_bytes:AVERAGE" \ > "CDEF:transmit=transmit2,8,*" > > > note that COMMENT is a graph comment ... don't use it ! > > cheers > tobi > -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi