Doubts about consultations rrd
Jesús Arriola Villarreal <[email protected]> Tue, 10 May 2016 16:51:09 -0500
| Newsgroups | gmane.comp.db.rrdtool.user |
|---|---|
| Message-ID | <[email protected]> |
Hello everyone. I am developing a process for a report of CPU performance, which makes queries to a time-lapse rrd 30 minutes, starting from 00:00:00 to 23:59:59 of any particular day file. The commands that would be used to determine AVERAGE and MAXIMUM are: rrdtool graph x DEF: v = Cpu.rrd: 1: AVERAGE: start = 1462856400: end = start + 1799s VDEF: vm = v, AVERAGE PRINT: vm:% lfrrdtool graph x DEF: v = Cpu.rrd: 1: AVERAGE: start = 1462856400: end = start + 1799s VDEF: vm = v, MAXIMUM PRINT: vm:% lf 1462856400 = May 10, 2016, 00:00:00start + 1799 = May 10, 2016, 00:29:59 The following query would be done as follows 1462858200 = May 10, 2016, 00:30:00start + 1799 = May 10, 2016, 00:59:59 rrdtool graph x DEF: v = Cpu.rrd: 1: AVERAGE: start = 1462858200: end = start + 1799s VDEF: vm = v, AVERAGE PRINT: vm:% lfrrdtool graph x DEF: v = Cpu.rrd: 1: AVERAGE: start = 1462858200: end = start + 1799s VDEF: vm = v, MAXIMUM PRINT: vm:% lf and so on... Are consultations with rrd and how to use the time intervals (start and end) are correct, any suggestions? Jesús Arriola Villarreal _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users