[rrd-users] Partion in low value count

Artur Miętek mentos at krecik.one.pl
Tue Sep 13 11:39:55 MEST 2005


Hello

I have statistics with vaules from 0 to 7 and i get graph with ",0"
How can i strip this.. especialy if this is integer value


here is my script:

rrdtool create /var/rrdtool/bazy/wlkompy.rrd --step 300 --start `date
+"%s"` \
 DS:on:GAUGE:320:U:U \
 RRA:AVERAGE:0.5:1:288

rrdtool graph /www/krecik/stats/kompy.png -v "libcza wlaczonych" -t
"Rotacja wlaczonych komputerow" -y 1:1 \
 DEF:Wlaczone=/var/rrdtool/bazy/wlkompy.rrd:on:AVERAGE:step=1 \
 AREA:Wlaczone#336600 \
 GPRINT:Wlaczone:LAST:"Aktualnie %2.0lf\n" \
 GPRINT:Wlaczone:AVERAGE:"Srednio   %2.0lf\n" \
 GPRINT:Wlaczone:MAX:"Najwiecej %2.0lf"


sorry for my english

-- 
Artur

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list