[rrd-users] Re: Calculations in GPRINT??
Geert van der Ploeg
geert at triple-it.nl
Thu Feb 14 22:25:51 MET 2002
You can do another CDEF on the DS, and use another GPRINT.
Example:
DEF:orig_value=bla.rrd:ds0:AVERAGE \
CDEF:value_percentage=orig_value,0.50,* \
GPRINT:orig_value:AVERAGE:"Original\: %5.2lf" \
GPRINT:value_percentage:AVERAGE:"50 percent\: %5.2lf"
Without putting a \n in the first GPRINT, the output will show on the same
line.
greetings,
Geert van der Ploeg
Triple IT
----- Original Message -----
From: <crtrepan at ca.ibm.com>
To: <rrd-users at list.ee.ethz.ch>
Sent: Thursday, February 14, 2002 9:38 PM
Subject: [rrd-users] Calculations in GPRINT??
>
>
> Is is possible to include calculations in GPRINT?
>
> I'd like to include a percent of utilization alongside the actual value.
>
> Thanks
>
>
> Claude R Trépanier
> Support de l'infrastructure du réseau
> IBM Bromont
>
>
>
> --
> 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
>
--
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