projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added AVG function to CDEF language. Martin Sperl martin sperl.org
[rrdtool.git]
/
doc
/
rrdgraph_rpn.pod
diff --git
a/doc/rrdgraph_rpn.pod
b/doc/rrdgraph_rpn.pod
index
5000d7a
..
6e31ea6
100644
(file)
--- a/
doc/rrdgraph_rpn.pod
+++ b/
doc/rrdgraph_rpn.pod
@@
-139,6
+139,13
@@
Example: C<CDEF:x=v1,v2,v3,v4,v5,v6,6,SORT,POP,5,REV,POP,+,+,+,4,/> will
compute the average of the values v1 to v6 after removing the smallest and
largest.
compute the average of the values v1 to v6 after removing the smallest and
largest.
+B<AVG>
+
+Pop one element (I<count>) from the stack. Now pop I<count> elements and build the
+average, ignoring all UNKNOWN values in the process.
+
+Example: C<CDEF:x=a,b,c,d,4,AVG>
+
B<TREND>
Create a "sliding window" average of another data series.
B<TREND>
Create a "sliding window" average of another data series.