On 19 October 2011 14:55, Alan Orth <[email protected]> wrote:
> Wow.  I had been zipping the historical log files in a cron job, so I
> had to unzip them to do the log analysis.  I had 25 gigs free, but ran
> out of disk space unzipping them!

Or you could process them individually with something along the following lines:

foreach i in `ls *.zip`; do unzip $i; /dspace/bin/dspace
stats-log-converter -i $i -o logfile; /dspace/bin/dspace
stats-log-importer -i logfile; rm logfile; zip $i; done

But be careful: I haven't actually tested that!

Sean
-- 
Sean Carte
esAL Library Systems Manager
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
http://esal.dut.ac.za/

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to