> 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:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to