[rrd-users] Re: I just want to merge two files, really.

Aaron Glenn aaron.glenn at gmail.com
Tue Nov 9 04:01:35 MET 2004


On Mon, 8 Nov 2004 17:37:25 -0300, Zicarelli, Gabriel
<gzicarelli at lopezleon.com> wrote:
> >
> > try this (though it's not entirely nice...):
> >
> > $ rrdtool fetch RRD.rrd --start N LAST | awk '{print
> > $1$2":"$3}' >> export_file
> > $ rrdtool update RRD.rrd `cat export_file`
> >
> > as usual replace the variables within the awk block with the
> > number of variables
> > you're dealing with.
> >
> > ;-)
> >
> 
> ooooooops! i did it again. it should be:
> $ rrdtool fetch RRD_NEW.rrd --start N LAST | awk '{print $1$2":"$3}' >>
> export_file
> $ rrdtool update RRD_OLD.rrd `cat export_file`
> 
> sorry...

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"?

Thanks,
aaron.glenn

--
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