On Fri, 2004-01-16 at 00:29, Yi Chu wrote: > 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. > > yi If I recall correctly you need to do double % signs for a litteral % sign:
GPRINT:BtoApct:MAX:$intface %4.1lf %s%% Warning, not tested. Best regards Michael Boman -- Michael Boman Security Architect, SecureCiRT Pte Ltd http://www.securecirt.com -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: This is a digitally signed message part -- Size: 190 bytes -- URL : http://www.ee.ethz.ch/~slist/p/70-signature.asc -- 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
