I've searched the archives, man pages, etc., but haven't found an answer to
this problem.

I'm using rrdtool to generate a graph.  I want the graph to be small to
conserve screen space for other things.  rrdtool seems to be leaving a lot
of white space to the left of the graph that I would like to eliminate.  A
sample of the graph appears at www.martinconsulting.com/netactivity.html.

The command line looks like:

rrdtool graph netactivity-small.png
        -a PNG
        -h 100
        -w 180
        -s -1days
        -t 'Net Outbound Activity'
        -x HOUR:1:HOUR:3:HOUR:3:0:%H
        -l -15
        -u 15
        DEF:eth0tx=network.rrd:eth0_TX_OK:AVERAGE
        DEF:eth0rx=network.rrd:eth0_RX_OK:AVERAGE
        DEF:eth1tx=network.rrd:eth1_TX_OK:AVERAGE
        DEF:eth1rx=network.rrd:eth1_RX_OK:AVERAGE
        DEF:eth2tx=network.rrd:eth2_TX_OK:AVERAGE
        DEF:eth2rx=network.rrd:eth2_RX_OK:AVERAGE
        DEF:eth3tx=network.rrd:eth3_TX_OK:AVERAGE
        DEF:eth3rx=network.rrd:eth3_RX_OK:AVERAGE
        CDEF:tx=eth2tx,eth3tx,eth0rx,eth1rx,+,-,+:AVERAGE
        CDEF:rx=eth2rx,eth3rx,eth0tx,eth1tx,+,-,+:AVERAGE
        LINE3:tx#0000FF:TxOut-RxIn
        LINE2:rx#FF0000:RxOut-TxIn\\r

Any thoughts or other recommendations would be appreciated.

                         -Brian Martin


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

Reply via email to