Javability (Java, Zaurus, Linux, Live) by Jean-Marc Autexier, Saarland/Germany
cat /dev/www | egrep 'Java|Linux|Zaurus|ITnews|Live' > blog

4.11.04 18:47 InetAddressLocator test ( , , , )

In my spare time I've tested InetAddressLocator. My little application parse the web server access file of my site (www.autexier.de), extract InetAddress and retrieve the Locale using InetAddressLocator.

Log file:

dsl-084-057-008-173.arcor-ip.net - - [01/Oct/2004:00:42:01 +0200] "GET /jmau/linux/Blue...
66.151.189.9-rev.colospace.com - - [01/Oct/2004:00:42:15 +0200] "GET /jmau/blog/atom.xml HTTP/1...
209.237.227.242 - - [01/Oct/2004:01:00:05 +0200] "GET /jmau/blog/ HTTP/...
209.237.227.242 - - [01/Oct/2004:01:00:05 +0200] "GET /jmau/blog ...


The result is a sorted list of country/hits (this is October 2004):

Jugoslawien - 1
Bahrain - 2
Dänemark - 3
Trinidad und Tobago - 4
Kolumbien - 5
Singapur - 6
Ecuador - 7
Estland - 8
Slowakei - 9
Tschechische Republik - 10
Thailand - 11
Indien - 12
Iran - 14
Bangladesch - 16
Hongkong - 17
Türkei - 18
Philippinen - 19
Belgien - 23
Niederlande - 24
Finnland - 26
Brasilien - 29
Australien - 30
Schweden - 35
Kanada - 57
Spanien - 68
Österreich - 84
Japan - 95
China - 163
Italien - 184
Vereinigtes Königreich - 215
Frankreich - 404
Vereinigte Staaten von Amerika - 3374
Deutschland - 5490

posted by Jean-Marc Autexier | 0 comments | Permalink | Send to Friends | Google it!
Subscribe

Locations of visitors to this page
selected blogs
ressources
Security
Unsorted
Fun
Free&Open Software
archives
This is a personal web page. Things said here do not represent the position of my employer.
RSS icons by: FastIcon.com