LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [OT] sript for merging and sorting http logs

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [OT] sript for merging and sorting http logs
From: Stuart Fox <stuart@xxxxxxxxxxx>
Date: Fri, 13 Jul 2001 13:32:18 +0100
Juri Haberland wrote:
> 
> Hi list,
> 
> this is somewhat offtopic but I thought that you guys will have an answer
> to my question as many of you may be faced with the same problem:
> I'm looking for a script that merges and sorts the access_log files of my
> three real servers running apache. The logs can be up to 500MB if combined.
> I found some perl scripts on the web but they are very memory intensive and
> are also very slow.
> Does one of you have a script that does the job more or less god?
> 
> TIA,
> Juri
> 
> --
> Juri Haberland  <juri@xxxxxxxxxxxxxx>
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users

Ok scrub my last post, i just tested mergelog

on a 2 x 400mb log it took 40 seconds

my script did it in 245 seconds

:( oh well it was a quick hack

Stuart

Attachment: stuart.vcf
Description: Card for Stuart Fox

<Prev in Thread] Current Thread [Next in Thread>