[rrd-users] rounded values?

Alex van den Bogaerdt alex at ergens.op.het.net
Mon Jul 23 12:19:11 CEST 2007


On Mon, Jul 23, 2007 at 06:56:30AM +0200, KOZMAN Balint wrote:
> 
> Hi all,
> 
> 
> is there a way in a cdef or vdef section to define rounding for the rates?
> I'd like to see integers on the graph...
> 
> 
> 
> Thanks in advance,
> Balint

cut and paste from the manual:

    FLOOR, CEIL

    Round down or up to the nearest integer.

read that fine manual, rrdgraph_rpn

If you were talking about the printed values instead of the plotted
values:  "%3.0lf" instead of "%6.2lf".

HTH
-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/



More information about the rrd-users mailing list