[rrd-users] Re: GPRINT

Edgardo Mina edgardo at staff.singnet.com.sg
Wed Mar 26 09:38:57 MET 2003


Hi,

thanks for that info.

At 02:50 AM 3/26/2003 -0500, Jonathan Disher wrote:
> > can you help me how to set the GRPINT to used k, M, G in out putting the
> > result in this units because i am getting the result as the raw value (eg
> > 2394879283.34 bps) and instead i want to show 23.9 Gbps. is ther a way to
> > show this, if so how it is being done.
> >
> > GPRINT:others:MAX:'Peak \\: %.2lf bps\t' \\
> > GPRINT:others:LAST:'Current \\: %.2lf bps'`;
>
>Use the %s operator to put the optional multiplier into the print
>statement, like this:
>
>GPRINT:indata:MAX:\l  %6.2lf %sbps
>
>-j

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