Check out the --start and --end command line arguments you can feed to the rrdtool command. The unit is seconds, and positive numbers are in relation to epoch. Negative numbers are relative to the current time, which I find easier to use.
Last Week: --start=-604800 \ --end=-300 \ Last Month: --start=-2592000 \ --end=-300 \ Last Hour: --start=-3594.24 \ --end=-300 \ And so on... Hope this helps! Rick Blundell http://netflowguide.com Graphing Netflow data with RRDtool On Fri, 2004-02-20 at 06:02, Moyaze Shivji wrote: > Hi there > > I am trying to use RRD to to graphically represent data on a daily, > weekly, monthly and yearly basis. > > I have basically configured RRD to take samples of data (data is extracted > from a external perl script) every 3 minutes. Now this is okay for the > daily graph. But I want to collect data for the weekly graph to show > avaeragly the data collected every week, month and over the past year. > > My question is how do I create graphs using the same RRD database for > weekly, monthly and yearly periods. > > Any advice and help would be much appreciated. > > Thanks > > M > > > -- > 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 > -- 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
