iwla/iwla_get.sh
2014-12-30 16:21:49 +01:00

21 lines
628 B
Bash
Executable File

#!/bin/bash
rm -f mega_log
for i in `seq 53 -1 2` ; do
[ ! -f "cybelle/soutade.fr_access.log.$i.gz" ] && continue
zcat "cybelle/soutade.fr_access.log.$i.gz" >> mega_log
echo "cybelle/soutade.fr_access.log.$i.gz"
done
#cat "cybelle/soutade.fr_access.log.2" >> mega_log
echo "cybelle/soutade.fr_access.log.1"
cat "cybelle/soutade.fr_access.log.1" >> mega_log
# cat "cybelle/soutade.fr_access.log" >> mega_log
cat mega_log | ./iwla.py -i -c
# cat "cybelle/soutade.fr_access.log.1" | ./iwla.py -i
# cat "cybelle/soutade.fr_access.log" | ./iwla.py -i
# TODO : reverse analysis
# -f option
# other when pages truncated