Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Summary-Talk] Re: log split command



>Thanks I was able to split the log, now I have an access_log 
>file(178 mb) and a file named access_logaa(177.9mb)

when i process the log the stats I get the same truncated at 2gig error.
  i am so glad i am still using the trial mode of summary, so easy to 
install yet so hard to get this file read completely.
How do I restuff the files into individual files guys?

>  >>
>  >>will split the file into 1GB pieces, which can then be restuffed into
>>>individual files.
>>>
>>>it's important to note that it isn't enough to split the file into
>>>pieces, then put the pieces back into one large zip file... it's the
>>>aggregate of the uncompressed archive that needs to be less than 2gb.
>>>
>>>hope this helps.
>>>cameron
>
>
>I'm sorry, my mistake... that should have been a lowercase M:
>
>split -b 1000m somehugefile.log
>
>you could add the final split file name prefix to every generated file,
>too... otherwise you get informative file names such as xaa, xab, xac
>etc..:
>
>split -b 1000m somehugefile.log somehugefile
>
>will you get you:
>
>somehugefilexaa, somehugefilexab, etc.
>
>cheers
>cam
>--
>-----------------------------------------------
>Cameron Knowlton
>iGods Internet Marketing
>cameronk@igods.com
>www.igods.com
>P: 250.382.0226
-------------
Go to <http://summary.net/list.html> to update subscription info.