<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ramblings from MostlyChris &#187; load</title>
	<atom:link href="http://blog.mostlychris.com/tag/load/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mostlychris.com</link>
	<description>Tech stuff and a bit more</description>
	<lastBuildDate>Tue, 27 Dec 2011 14:23:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Apache Server Hits</title>
		<link>http://blog.mostlychris.com/2009/03/number-of-hits-from-the-apache-log-files/</link>
		<comments>http://blog.mostlychris.com/2009/03/number-of-hits-from-the-apache-log-files/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 12:41:14 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[load]]></category>

		<guid isPermaLink="false">http://blog.mostlychris.com/?p=348</guid>
		<description><![CDATA[Use this little one liner to grab the number of hits from the apache access logs. DATE=`date +%d.%b.%Y`':';for i in `lsof -p $&#40;ps faxwwwu&#124;awk '$1 ~ /^root$/ &#38;&#38; $11 ~ /httpd$/ {print $2&#124;&#34;head -1&#34;}' &#41;&#124; awk '$9 ~ /access_log$/ {print $9&#124; &#34;sort -u&#34;}'`; do echo &#34;&#8212;&#8212;-&#34;$i&#34;&#8212;&#8212;&#34;$DATE;awk '$4 ~ /^.'$DATE'/ {hit[substr($4,2,2)&#34;\t&#34;substr($4,14,2)&#34;.&#34;substr($4,17,1)]++;ip[$1]++} END { for (i in [...]]]></description>
		<wfw:commentRss>http://blog.mostlychris.com/2009/03/number-of-hits-from-the-apache-log-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

