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
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to