adding old logs to the log file
Pete Nesbitt
pete at linux1.ca
Fri Jul 30 03:35:36 UTC 2004
On July 28, 2004 10:44 pm, Bilal Dar wrote:
> Hi there,
>
> I cant remember how can we do this, i am moving mrtg to another machine so
> i have to copy the logs on the new one as well so i can get the previous
> whole year graphs as well.
>
> For this i suppose i have to add the old mrtg logs at the end of the new
> mrtg log file. How can i do that.
>
> Thanks
Hi,
if there regular plain text logs, just use 'cat'
"cat newlog 2ndlog 3rdlog ... oldestlog > fulllog"
--
Pete Nesbitt, rhce
More information about the redhat-list
mailing list