[rrd-users] Help: how do I put '%' in GPRINT?

Yi Chu yi_chu_01 at yahoo.com
Thu Jan 15 17:29:35 MET 2004

I want to display 's0 54.1%' on the graph (utilization
for interface s0).  I can do 's0  54.1' with GPRINT,
but have trouble to put in the '%'.

Here is what I hve for GPRINT

"GPRINT:BtoApct:MAX:$intface  %4.1lf"

which produced '54'.  I tried 

"GPRINT:BtoApct:MAX:$intface  %4.1lf %s\%"

and it did not work. Error message is

ERROR: bad format for [G]PRINT in 's0  %4.1lf %s%'

Please help advise.


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

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