[rrd-users] Fwd: start time

fadwa salam fadawine at gmail.com
Fri Jul 1 14:08:52 CEST 2011


I'm sorry to bother you again, I tried what you sent me. It gives me the
following result:

end=`date +%s` gives =====> end=1309521104

end=$(( ( ${end} / ${period} ) * ${period} )) =====> after this operations
it gives end=1309520880

time=$(( ( ${time} / ${period} ) * ${period} ))=====> time don't change
after operations time=3600

start=$(( ${end} - ${time} ))=====>  this operations gives the value of
start start=1309517280

it shows ok, but when i run rrdtool fetch it does not accept the value 3600

rrdtool fetch $rrd AVERAGE -r $period -s $time =====> ERROR: start time: did
you really mean month 3600?

thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20110701/d7a69ad2/attachment.htm 

More information about the rrd-users mailing list