projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
when fetching, don't pick a higher res rra just because it's coverage at the 'end...
[rrdtool.git]
/
doc
/
rrdfetch.pod
diff --git
a/doc/rrdfetch.pod
b/doc/rrdfetch.pod
index
3611928
..
51b5ccd
100644
(file)
--- a/
doc/rrdfetch.pod
+++ b/
doc/rrdfetch.pod
@@
-103,7
+103,7
@@
Using the bash shell, this could look be:
TIME=$(date +%s)
RRDRES=900
rrdtool fetch subdata.rrd AVERAGE -r $RRDRES \
- -e $(
echo $(($TIME/$RRDRES*$RRDRES)
)) -s e-1h
+ -e $(
($TIME/$RRDRES*$RRDRES
)) -s e-1h
Or in Perl: