HitLog

From S23Wiki
Jump to: navigation, search

Go to Special:Statistics

Outdated (historic only)

mutante@eris:./wikilog.sh

Total wiki-hits since 11/Apr/2004 07:13:42 :

5997

writing to 'wikilog'

done writing. sorting now by hits:

2413 hits on BitTorrent

317 hits on RecentChanges

184 hits on HomePage

108 hits on KunDa

87 hits on ToDoList

70 hits on FrooD

57 hits on EggDrops

55 hits on TextFormattingRules

48 hits on Free_Links

46 hits on AlkoholHerstellung

37 hits on JoJa

34 hits on UseMod

31 hits on SoulSeek

31 hits on BitTorrentDownloadClients

30 hits on EarthWays

28 hits on ToDoList/UserLocations

27 hits on UseModWiki

27 hits on SynCronicity

25 hits on of

22 hits on BrainFrequencies

21 hits on InVisibles

21 hits on DisChord

20 hits on BlackWater

20 hits on BierBrauAnlage

19 hits on KunDa/ToDoList

18 hits on RobertAntonWilson

18 hits on Knoppix3

18 hits on BierBrauen

17 hits on DisCordia

16 hits on Soulseek

15 hits on SoftwarePatents

15 hits on FirstContact

14 hits on SICatHome

14 hits on RssNewsfeeds

14 hits on PacMan

13 hits on StartMenuButton

11 hits on Pic2Wav

11 hits on GuardDog

10 hits on IsoCountryCodes

10 hits on Fnord

10 hits on CrayCyber

9 hits on StraightEdge

9 hits on SkullAndBones

9 hits on MicroSoft

9 hits on IrcQuotes

9 hits on GuerillaNet

8 hits on WindowsMessenger

8 hits on WilkiActions

8 hits on TvTurnOff

7 hits on SideBar

7 hits on InSecure

6 hits on NotePad

6 hits on MovieQuiz

6 hits on FuGazi

5 hits on MinorThreat

5 hits on DayOfTheTentacle

5 hits on BlootBot

4 hits on Seti23

4 hits on Mutante

4 hits on FireFox

4 hits on DisCharge

3 hits on WindowsKey

3 hits on VenTrilo

3 hits on HoneyPot

2 hits on VaGina

2 hits on UltraEdit

2 hits on ProTon/Phase5

2 hits on PraYinG

2 hits on HaiKu

2 hits on FalLudScha

2 hits on DrFalken

2 hits on BuH

2 hits on ArthurDent

1 hits on VaxBar

1 hits on SexPistols

1 hits on RandomBullshit

1 hits on OsTaRa

1 hits on FreeDroid

1 hits on AlbertEinstein

number of searches:

50


keywords:

PhP PhP PhP DDaTe SetiBoinc DesoxyriboNukleinSauere 1 1 1 Codec PoP3 wiki.pl?GlobalResearch WorldTradeFake DarkGalaxy

GerhardWisnewski BoinC RoyalAirForce UseMod PerL RouTer 1 1 NetWork NetWork NetWork JoschkaFischer JoschkaFischer

JoschkaFischer FreeBSD 1 1 1 Bilder LinkListe PingStorm IllMatic 23 EfNet TcpaPalladium 2600 AhmedChalabi AhmedChalabi

AhmedChalabi AhmedChalabi 1 AgBot JoschkaFischer HuMan UnderNet AnArchisMus



the sourcecode for this goes a little something like this:

#/bin/bash
# Wiki-Parse - Parsing the Apache access log to seperate UseMod Wiki hits on wiki.pl into subpages
# by mutante@s23.org


# config

logpath="/var/log/apache/access.log"
rcpath="http://wiki.s23.org/"

# ---------------

# getting date this apache log started.

accdate=`grep "2004" -m1 $logpath | grep -o "...........:..:..:.."`


# get a fresh rc page, cause those pages we are interested in for now..

wget http://wiki.s23.org/wiki.pl?RecentChanges
mv wiki.pl?RecentChanges rc.txt

# output

# just the total hits on wiki.pl

echo "Total wiki-hits since $accdate :";
grep -o "wiki.pl?.*" $logpath | wc -l


# getting into SubPages now...

pages=`grep "id=" rc.txt | cut -f5 -d "=" | cut -f1 -d """`


# writing them to a text file first, to sort them later

echo "writing to 'wikilog'";

 for page in $pages ; do
 hitcount=`grep -o "wiki.pl?.*" $logpath | cut -f1 -d """ | cut -f1 -d " " | grep "$page" | wc -l`
 echo "$hitcount hits on $page" >> wikilog;
 done

echo "done writing. sorting now by hits:";

sort -gr wikilog

# echo "all hits:";

# grep -o "wiki.pl?.*" $logpath | cut -f1 -d """ | cut -f1 -d " "

# checking for search keywords...

echo "number of searches:";
grep -o "wiki.pl?.*" $logpath | cut -f1 -d """ | cut -f1 -d " " | grep "search" | wc -l
echo "keywords:";
grep -o "wiki.pl?.*" $logpath | cut -f1 -d """ | cut -f1 -d " " | grep "search" | cut -f2 -d "=" | xargs echo

its hell of slow though... and should be improved of course..