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

Zicarelli, Gabriel gzicarelli at lopezleon.com
Mon Nov 8 21:37:25 MET 2004


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

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