Hello, <br><br><span id="result_box" class="" lang="en"><span title="Cliquer ici pour voir d&#39;autres traductions" class="hps">I&#39;m sorry</span> <span title="Cliquer ici pour voir d&#39;autres traductions" class="hps">to bother you</span> <span title="Cliquer ici pour voir d&#39;autres traductions" class="hps">again</span><span class="" title="Cliquer ici pour voir d&#39;autres traductions">, I tried</span> <span title="Cliquer ici pour voir d&#39;autres traductions" class="hps">what</span> <span title="Cliquer ici pour voir d&#39;autres traductions" class="hps">you sent me.</span> <span title="Cliquer ici pour voir d&#39;autres traductions" class="hps">It</span> <span title="Cliquer ici pour voir d&#39;autres traductions" class="hps">gives me</span> <span title="Cliquer ici pour voir d&#39;autres traductions" class="hps">the following result:</span></span><br>
period=300<br>time=3600<br><br>end=`date +%s` gives =====&gt; end=1309521104<br><br>end=$(( ( ${end} / ${period} ) * ${period} )) =====&gt; after this operations it gives end=1309520880<br><br>time=$(( ( ${time} / ${period} ) * ${period} ))=====&gt; time don&#39;t change after operations time=3600<br>
<br>start=$(( ${end} - ${time} ))=====&gt;  this operations gives the value of start start=1309517280<br><br>it shows ok, but when i run rrdtool fetch it does not accept the value 3600<br><br>rrdtool fetch $rrd AVERAGE -r $period -s $time =====&gt; ERROR: start time: did you really mean month 3600?<br>
<br>thank you very much.<br><br>
<br>