Index: trunk/wikistats/squids/SquidReportArchive.sh |
— | — | @@ -2,19 +2,23 @@ |
3 | 3 | ulimit -v 4000000 |
4 | 4 | |
5 | 5 | home="/a/ezachte" |
6 | | -month=2011-02 |
| 6 | +month=2011-08 |
7 | 7 | |
8 | 8 | # perl $home/SquidReportArchive.pl -m 201007 > SquidReportArchiveLog.txt |
9 | | -# after further automating SquidScanCountries.sh: |
| 9 | +# after further automating SquidScanCountries.sh |
10 | 10 | |
11 | | -#perl $home/SquidReportArchive.pl -c $month >> SquidReportArchiveLog.txt # -c for per country reports |
12 | | -#perl $home/SquidReportArchive.pl -m $month >> SquidReportArchiveLog.txt |
13 | | -#perl $home/SquidCountryScan.pl # start in July 2009 |
| 11 | +# perl $home/SquidCountryScan.pl # start in July 2009 |
| 12 | +# perl $home/SquidReportArchive.pl -c # >> SquidReportArchiveLog.txt # -c for per country reports |
| 13 | +# perl $home/SquidReportArchive.pl -c -q 2010Q2 # >> SquidReportArchiveLog.txt # -c for per country reports |
| 14 | +perl $home/SquidReportArchive.pl -m $month # >> SquidReportArchiveLog.txt |
14 | 15 | |
15 | | -cp /a/ezachte/$month/$month-html.tar ./reports_traffic_$month.tar |
16 | | -tar -cf reports_countries_$month.tar SquidReportPage*.htm |
| 16 | +ls -l /a/ezachte/reports*$month* |
| 17 | +rm /a/ezachte/reports*$month* |
17 | 18 | |
18 | | -bzip2 -f reports_traffic_$month.tar |
19 | | -bzip2 -f reports_countries_$month.tar |
20 | | - |
21 | | -tar -cf reports_$month.tar reports_*_$month.tar.bz2 |
| 19 | +tar -cf /a/ezachte/$month/$month-html.tar /a/ezachte/$month/*.htm |
| 20 | +cp /a/ezachte/$month/$month-html.tar ./reports-traffic-$month.tar |
| 21 | +tar -cf reports-countries-$month.tar SquidReportPage*.htm |
| 22 | +bzip2 -f reports-traffic-$month.tar |
| 23 | +bzip2 -f reports-countries-$month.tar |
| 24 | +tar -cf reports-$month.tar reports-*-$month.tar.bz2 |
| 25 | +rm /a/ezachte/reports*$month*.bz2 |