[rrd-users] Re: [rrdgraph] Y labels

steve rader rader at teak.wiscnet.net
Wed Jan 26 19:33:05 MET 2000


 > From: Denis Barbier
 > i am learning RRDtool with a simple example, showing CPU load. It works
 > very nice, but i failed changing Y labels. Instead of ``500m'',
 > ``1000m'', etc. i prefer 0.5, 1.0, etc.
 > Is it possible?
 > It could be done by specifying a sprintf format as third argument of
 > --y-grid.

For the GPRINTS, if you drop the %s, then you won't get autoscaled
data:

  GPRINT:busy:AVERAGE:"%6.2lf %% ave"
  GPRINT:busy:MAX:"%6.2lf %% max"
  GPRINT:busy:LAST:"%6.2lf %% last\n"

For the graph, use 

  --lower-limit 0 --upper-limit 100 

to force the graph to have the y-axis range of 0 to 100.

later
steve
- - -
systems guy
wiscnet.net

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



More information about the rrd-users mailing list