summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c97686d)
raw | patch | inline | side by side (parent: c97686d)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 5 Sep 2006 19:55:36 +0000 (19:55 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 5 Sep 2006 19:55:36 +0000 (19:55 +0000) |
program/doc/rrdfetch.pod | patch | blob | history |
index 3611928b9c122ce64de2a7288956cded462556e7..51b5ccd99c8441f8f7f12021836ba22a902ccc56 100644 (file)
--- a/program/doc/rrdfetch.pod
+++ b/program/doc/rrdfetch.pod
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: