[rrd-users] Re: GPRINT

Jonathan Disher jdisher at parad.net
Wed Mar 26 08:50:41 MET 2003

> 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


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