[rrd-developers] rrdfirst bug
    Dario Rossi 
    dario.rossi at polito.it
       
    Thu Jun  9 10:12:24 MEST 2005
    
    
  
Hi,
I would like to point out the existence of the following bug,
probably related to argv parsing: specifying --rraindex on 
the command line causes rrdtool to stuck into an (infinite?) 
loop:
    bash$ rrdtool first data.rrd  
    955448100 
    bash$ rrdtool first data.rrd --rraindex 0
    [loop forever]
    bash$ rrdtool first data.rrd --rraindex 3
    [loop forever]
As a side note, the order of the parameters in the 
rrdfirst manpage is swapped:
    NAME
       rrdfirst - Return the date of the first data sample in an RRA 
                    within an RRD
    SYNOPSIS
       rrdtool first filename [--rraindex number]
Indeed, trusting the manpage, you get the following complaint:
    bash$ rrdtool first data.rrd --raindex 3
    ERROR: usage rrdtool first [--rraindex number] file.rrd
D.
-- 
Oo    Dario Rossi
 >    PostDoc Researcher
~     PoliTo/DELEN/TNG
--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-developers
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi
    
    
More information about the rrd-developers
mailing list