[rrd-users] rrdtool problem.

yucatan ton_wittenberg at hotmail.com
Tue Jun 14 11:54:57 CEST 2011


hello guys i have a rrdtool script and i wish to show the complete value so
now i display 80,1
i wanne remove the ,1 i only wish to display 80.


this is my code:

                RRDs::graph "$img/$_[0]-$_[1].png",
                "-s -1$_[1]",
                "-t traffic on $_[0] :: $_[2]",
                "-h", "80", "-w", "543",
                "-l 0",
                "-a", "PNG",
                "DEF:players=$rrd/$_[0].rrd:players:AVERAGE",
                "AREA:players#32CD32:Players",
                "LINE1:players#336600",
                "GPRINT:players:MAX:  Max\\: %5.1lf %s",
                "GPRINT:players:AVERAGE: Avg\\: %5.1lf %S",
                "GPRINT:players:LAST: Current\\: %5.1lf %SPlayers\\n",
                "HRULE:0#000000";

i think i need to change something on the %5.1 but i m not sure thats why i
m asking u people for advice.

Thanks in advantage.

Greets Yucatan

--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/rrdtool-problem-tp6473420p6473420.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.



More information about the rrd-users mailing list