<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Perl : Counting occurences of IP addresses in Apache logs</title>
	<atom:link href="http://www.sakana.fr/blog/2010/03/02/perl-counting-occurences-of-ip-addresses-in-apache-logs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sakana.fr/blog/2010/03/02/perl-counting-occurences-of-ip-addresses-in-apache-logs/</link>
	<description>On the fly saving of few useful (?) tech tips</description>
	<lastBuildDate>Sun, 05 Feb 2012 16:37:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Quickies: count IP occurrences in Apache logs &#171; 0ddn1x: tricks with *nix</title>
		<link>http://www.sakana.fr/blog/2010/03/02/perl-counting-occurences-of-ip-addresses-in-apache-logs/comment-page-1/#comment-8887</link>
		<dc:creator>Quickies: count IP occurrences in Apache logs &#171; 0ddn1x: tricks with *nix</dc:creator>
		<pubDate>Tue, 28 Dec 2010 18:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakana.fr/blog/?p=408#comment-8887</guid>
		<description>[...] http://www.sakana.fr/blog/2010/03/02/perl-counting-occurences-of-ip-addresses-in-apache-logs/   Leave a Comment    TrackBack URI [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.sakana.fr/blog/2010/03/02/perl-counting-occurences-of-ip-addresses-in-apache-logs/" rel="nofollow">http://www.sakana.fr/blog/2010/03/02/perl-counting-occurences-of-ip-addresses-in-apache-logs/</a>   Leave a Comment    TrackBack URI [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alper Yilmaz</title>
		<link>http://www.sakana.fr/blog/2010/03/02/perl-counting-occurences-of-ip-addresses-in-apache-logs/comment-page-1/#comment-8535</link>
		<dc:creator>Alper Yilmaz</dc:creator>
		<pubDate>Tue, 30 Mar 2010 22:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakana.fr/blog/?p=408#comment-8535</guid>
		<description>The perl way is still valuable, showing very nice usage of map, sort and array range..</description>
		<content:encoded><![CDATA[<p>The perl way is still valuable, showing very nice usage of map, sort and array range..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alper&#39;s blog &#187; top ten occurrences with perl one-liner</title>
		<link>http://www.sakana.fr/blog/2010/03/02/perl-counting-occurences-of-ip-addresses-in-apache-logs/comment-page-1/#comment-8534</link>
		<dc:creator>Alper&#39;s blog &#187; top ten occurrences with perl one-liner</dc:creator>
		<pubDate>Tue, 30 Mar 2010 22:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakana.fr/blog/?p=408#comment-8534</guid>
		<description>[...] from Tech@Sakana blog ?View Code PERLperl -ane &#039;$c{$F[0]}++; END {print map {$_ . &quot;t-&gt;t&quot; . $c{$_} . [...]</description>
		<content:encoded><![CDATA[<p>[...] from Tech@Sakana blog ?View Code PERLperl -ane &#39;$c{$F[0]}++; END {print map {$_ . &quot;t-&gt;t&quot; . $c{$_} . [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephane Kattoor</title>
		<link>http://www.sakana.fr/blog/2010/03/02/perl-counting-occurences-of-ip-addresses-in-apache-logs/comment-page-1/#comment-8430</link>
		<dc:creator>Stephane Kattoor</dc:creator>
		<pubDate>Sun, 14 Mar 2010 14:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakana.fr/blog/?p=408#comment-8430</guid>
		<description>Another case when the comments are worth more than the post itself ... Thanks to all :-D

Stephane</description>
		<content:encoded><![CDATA[<p>Another case when the comments are worth more than the post itself &#8230; Thanks to all <img src='http://www.sakana.fr/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>Stephane</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Simmons</title>
		<link>http://www.sakana.fr/blog/2010/03/02/perl-counting-occurences-of-ip-addresses-in-apache-logs/comment-page-1/#comment-8416</link>
		<dc:creator>Matt Simmons</dc:creator>
		<pubDate>Thu, 11 Mar 2010 15:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakana.fr/blog/?p=408#comment-8416</guid>
		<description>dblackshell is really close. The problem is that the awk line doesn&#039;t sort. 

You need this: 

awk &#039;{print $1}&#039; access_log &#124; sort &#124; uniq -c &#124; sort -g &#124; tail -n 10</description>
		<content:encoded><![CDATA[<p>dblackshell is really close. The problem is that the awk line doesn&#8217;t sort. </p>
<p>You need this: </p>
<p>awk &#8216;{print $1}&#8217; access_log | sort | uniq -c | sort -g | tail -n 10</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephane Kattoor</title>
		<link>http://www.sakana.fr/blog/2010/03/02/perl-counting-occurences-of-ip-addresses-in-apache-logs/comment-page-1/#comment-8405</link>
		<dc:creator>Stephane Kattoor</dc:creator>
		<pubDate>Tue, 09 Mar 2010 20:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakana.fr/blog/?p=408#comment-8405</guid>
		<description>Iain and dblackshell, thanks for your input !

Stephane</description>
		<content:encoded><![CDATA[<p>Iain and dblackshell, thanks for your input !</p>
<p>Stephane</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dblackshell</title>
		<link>http://www.sakana.fr/blog/2010/03/02/perl-counting-occurences-of-ip-addresses-in-apache-logs/comment-page-1/#comment-8392</link>
		<dc:creator>dblackshell</dc:creator>
		<pubDate>Mon, 08 Mar 2010 16:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakana.fr/blog/?p=408#comment-8392</guid>
		<description>awk &#039;{ print $1 }&#039; access.log &#124; uniq -c</description>
		<content:encoded><![CDATA[<p>awk &#8216;{ print $1 }&#8217; access.log | uniq -c</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iain</title>
		<link>http://www.sakana.fr/blog/2010/03/02/perl-counting-occurences-of-ip-addresses-in-apache-logs/comment-page-1/#comment-8386</link>
		<dc:creator>Iain</dc:creator>
		<pubDate>Sun, 07 Mar 2010 19:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakana.fr/blog/?p=408#comment-8386</guid>
		<description>{$_ . &quot;\t-&gt;\t&quot; . $c{$_} . &quot;\n&quot;}

-&gt;

{&quot;$_\t-&gt;\t$c{$_}\n&quot;}

That is all.</description>
		<content:encoded><![CDATA[<p>{$_ . &#8220;\t-&gt;\t&#8221; . $c{$_} . &#8220;\n&#8221;}</p>
<p>-&gt;</p>
<p>{&#8220;$_\t-&gt;\t$c{$_}\n&#8221;}</p>
<p>That is all.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

