[rrd-users] Problem with gprinting kilos(10e3) only
Piotr Szafran
p_szafran at o2.pl
Thu Oct 20 12:13:58 MEST 2005
Hi,
i am trying to gprint below the graph the some statistics, but i want
them printed always as kilo (10e3), for example 12000 k instead of 12M.
There is no problem to that on y-axis with units-exponent option, but
this doesn't change the printed values. How can i change this??
rrdtool graph a.png -Y -X 3 --lower-limit 0 -s now-72h
DEF:bytes_in=$rrd:in:AVERAGE
DEF:bytes_out=$rrd:out:AVERAGE
CDEF:bits_out=bytes_out,8,*
CDEF:bits_in=bytes_in,8,*
GPRINT:bits_in:MAX:'%2.3lf %s'
GPRINT:bits_in:AVERAGE:'%7.7lg %s'
GPRINT:bits_out:MAX:'%0.3lf %s'
GPRINT:bits_out:AVERAGE:'%lf %S'
AREA:bits_in#00FF00:Download LINE1:bits_out#0000FF:Upload
Regards
Piotrek
--
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