[rrd-users] Massive difference between "rrdtool graph" and "rrdtool fetch"
Rick Blundell
rickb at servercove.com
Tue Mar 2 08:29:15 MET 2004
Hello.
I am extracting and summing up a column of values with both tools (graph
and fetch). The graph sum is 100% accurate but, when I fetch for the
data, and sum it up (including the exponents), the value is very very
low.
If I have an RRD db, and I wish to calculate the total of a specific
column, what is the best way to accomplish this from the command line?
The command I am using to display all of the rows from the command line
is:
#fetch file.rrd AVERAGE -r 900 -s -604800 -e -300 | tr -s " " | cut -d "
" -f5
This will display all the rows at a 15 minute resolution. I then add up
all of these values and I assume this would be the total, correct?
Thank You,
Rick Blundell
Netflowguide.com - Graphing Cisco netflow data with RRDTool
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list