[rrd-users] Problem with -U / --unit option

Justin Hawkins justin at hawkins.id.au
Fri Dec 19 05:09:18 MET 2003


The problem is simple - I can't get it to work :-)

Here is my simple test case:

rrdtool graph '/tmp/test.png' --unit Gb -a PNG \
  DEF:total=rrd/df.rrd:total__dev_ad0s1d:AVERAGE \
  AREA:total#00cc00:total

Here is the result:

http://hawkins.id.au/~justin/test.png

I'm trying to express disk space in gigabytes. Yes, I know I need to use
-X as well, but the above is my simplest test case.

As you can see from the graph, it does not change the y axis unit at all.

Am I missing something here? The man page suggests nothing except that
it is 'wise to use only short units'. I've tried with a single
character, to no avail.

rrdtool-1.0.45, FreeBSD 5.1

        - Justin

-- 
Justin Hawkins | justin at hawkins.id.au
               | http://hawkins.id.au

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