[rrd-users] 'graph' command printing to stdout

ogjunk-rrd at yahoo.com ogjunk-rrd at yahoo.com
Thu Dec 9 22:28:53 MET 2004


I'm making my first steps with RRD (used MRTG several years ago), and
I'm noticing that 'rrdtool graph...' command prints out something to
stdout.  In my case it prints: 800x205

This happens when I graph the RRD data using this command:

$RRD graph memory-120.png --step 120 --imgformat PNG \
     --width 720 --height 150 --base 1024 \
         DEF:swap=$DIR/memory.rrd:free-swap:AVERAGE \
         DEF:physical=$DIR/memory.rrd:free-physical:AVERAGE \
         DEF:buffer=$DIR/memory.rrd:free-buffer:AVERAGE \
         CDEF:sum=swap,physical,+,buffer,+ \
         AREA:sum#dddddd:"" \
         LINE2:swap#00cc00:"free swap memory" \
         LINE2:physical#cc0000:"free physical memory" \
         LINE2:buffer#0000cc:"free kernel buffers" \
         LINE1:sum#aaaaaa:"sum of free memory"

Is this 800x205 normal?  What does it represent, and is there a way to
make graphing quiet?  This way running RRD graphing from cron is a bit
annoying, and redirecting stdout is doable, but maybe there is a better

There must be ready-made scripts that gather data for used/free disk
space, network interface traffic, etc.  I thought I found find those in
contrib/, but they aren't there.  Is there a collection that I could
make use of somewhere, or do I need to reinvent the wheel?  Thanks.

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