Paul Slootman wrote: > I'm using RRD to log things like load average, memory usage, > number of users, etc. This gives pretty graphs which show > e.g. that the load depends on the number of active users. > However, I can now only show the data for a given day; what > I want to do is for every timespan (e.g. 12:00-12:10), average > the numbers of Monday-Friday, and then display a single grpah > so that the average load at a given time can be seen. > > Any ideas on how to do that? only thing I could think of was > extracting the numbers for each timespan on each day myself > and averaging those myself, and then plugging that into a > temp RRD after which the graph could be generated. However, > this sounds a bit inefficient, and I thought that perhaps > there is a readily available way of doing this? > > Paul Slootman > -- > home: [EMAIL PROTECTED] http://www.wurtel.demon.nl/ > work: [EMAIL PROTECTED] http://www.murphy.nl/ > debian: [EMAIL PROTECTED] http://www.debian.org/ > isdn4linux: [EMAIL PROTECTED] http://www.isdn4linux.org/ > > -- > 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
What you mean is weekly average on hourly bases. This is simmilar to nDAV busy hour calculation in telecom. I don't think that you'll be able to make such calculation directly in RRDTOOL, because first of all the only measurement unit is "seccond" and not a general unit like <hour1>, <hour2>.. or <day1>, <day2>... . But, as a workaround you can perform some queries hourly based, for each day o the week and then do your calculations by yourself and feed a new archive with what you obtain to do the graphs. The only thing that you should care is how create and graph the new archive because you can't use anymore the "seccond" as your measurement unit. Regards, Felix -- 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
