Alex Lam wrote: > So, the NOW reference is NOT useful to me. In order to extract the data > during the > interval (from start to end time), I REALLY need to get the "start", "last" > and/or "end" > value stored in the RRD database.
[...] > So, I really need to know how to fetch data from start to end (or last) . > > In addition, "rrdtool fetch " can refer to the start and end value, why > can't I use > "rrdtool fetch RRD CF --start s --end e" OR > "rrdtool info" > to get the start, end timestamp value? "--start s" means "--start start" and as I said, this does not mean the start of the data. It means the start of your query. Same applies for "--end e". You can get the last update timestamp with "rrdtool last". This is not useful if you also need the first update. Try rrdtool dump and view the output. Each RRA will have a series of time in it. Each RRA will look like <some timestamp;first line> ... <most recent timestamp; timestamp can be obtained by "rrdtool last"> <least recent timestamp> ... <some timestamp; last line> If the RRA is big enough to hold *all* measured data it will look like: <some timestamp;data == NaN;first line> ... <some timestamp;data == NaN> <some timestamp;data != NaN;first logged value> ... <most recent timestamp; last line> HTH -- __________________________________________________________________ / [EMAIL PROTECTED] [EMAIL PROTECTED] \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
