[rrd-users] Re: I just want to merge two files, really.
Zicarelli, Gabriel
gzicarelli at lopezleon.com
Tue Nov 9 14:52:12 MET 2004
> From: Aaron Glenn [mailto:aaron.glenn at gmail.com]
> Sent: Tuesday, November 09, 2004 12:02 AM
> Subject: [rrd-users] Re: I just want to merge two files, really.
>
> I read the rrdfetch man page but I'm still unclear on the --start
> flag. Also, what do you mean by "number of variables you're dealing
> with"?
>
say you've defined the rrd as:
rrdtool create RRD.rrd --start N
DS:bps1:GAUGE:75:0:256000 \
DS:bps2:GAUGE:75:0:256000 \
RRA:LAST:0.5:1:43200 \
then the two variables you can work with are bps1 and bps2.
if you take a look at the output of 'rrdtool fetch' you'll
see that output takes the form 'epoch: bps1 bps2'.
in the awk block, $1 is the epoch, $2 and $3 would be the vars.
gabriel
--
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