nuno pires wrote: > > Hello. > I am having a problem with some white spaces between > my comments and GPRINTS. > > I am using this: > > COMMENT:last \ > GPRINT:FIELD2:LAST:%12.1lf \ > > As you can see in the picture attached i have many > white spaces between the comments and the GPRINT's. > I would like to supress the white spaces, i would > appreciate any help.
See the manual page for "rrdtool graph", for instance on the web: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/manual/rrdgraph.html Look for "The space following a string can be suppressed". If that doesn't work, try this: GPRINT:FIELD2:LAST:last%12.1lf > P.S. I also would like to understand what means the : > %12.1lf in the GPRINT's. See the manual for printf. Search for "sprintf" in google, feel lucky. cheers, -- __________________________________________________________________ / [EMAIL PROTECTED] [EMAIL PROTECTED] \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- 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
