[rrd-users] Re: -X and GPRINT

Alex van den Bogaerdt alex at ergens.op.het.net
Fri Nov 3 19:34:21 MET 2006

On Fri, Nov 03, 2006 at 03:23:57PM -0200, Maicon S. wrote:
> Well, im using the following command:
> RRDp::cmd "graph $imagem ",
>    "DEF:vwa=$data:wa:AVERAGE ",
>    "LINE1:vwa#${color2}:'WA:'  GPRINT:vwa:LAST:'  Atual\\:%8.2lf %s %%' ",
>    "GPRINT:vwa:AVERAGE:' Media\\:%8.2lf %s %%' GPRINT:vwa:MAX:'

Do you have any idea what "%s" means, or did you just copy an
example and hoped it worked?

> On the graph the Y-grid (vertical) show 0.6 0.7 and so on, on the
> GPRINT it shows 600.00m

Yes, because you ask for this.  That's why you wrote %s.

Alex van den Bogaerdt

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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list