<?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>Gudasoft &#187; log</title>
	<atom:link href="http://www.gudasoft.com/tag/log/feed" rel="self" type="application/rss+xml" />
	<link>http://www.gudasoft.com</link>
	<description>Impossible is nothing</description>
	<lastBuildDate>Thu, 06 Oct 2011 07:17:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Logs monitoring</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/04/09/668/logs-monitoring/2009</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/04/09/668/logs-monitoring/2009#comments</comments>
		<pubDate>Thu, 09 Apr 2009 13:51:02 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=668</guid>
		<description><![CDATA[I have been asked from one my friends who hosts many websites on single machine to help him to find which vhost is doing some slow requests. the load of the machine from 0.5 has become 1.5. and there are some apache processess eating the CPU. It is obvious that some php file is slowing [...]]]></description>
			<content:encoded><![CDATA[<p>I have been asked from one my friends who hosts many websites on single machine to help him to find which vhost is doing some slow requests.</p>
<p>the load of the machine from 0.5 has become 1.5. and there are some apache processess eating the CPU.</p>
<p>It is obvious that some php file is slowing down all the machine but who?</p>
<p>I found this wonderfull tool in Internet</p>
<p>http://code.google.com/p/wtop/wiki/Installing</p>
<p>http://code.google.com/p/wtop/wiki/LogrepCookbook</p>
<p>With this script I can monitor all the pages and not sitting in the dark while some evil pages are drying the CPU power.</p>
<pre class="prettyprint"><a id="Keep_a_watch_out_for_slow_requests_as_they_happen:"><span class="pln">logrep </span><span class="pun">-</span><span class="pln">m tail </span><span class="pun">-</span><span class="pln">f </span><span class="str">'msec&gt;1000'</span><span class="pln"> </span><span class="pun">-</span><span class="pln">o </span><span class="str">'ts,ip,msec,class,url' *.log</span></a></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/04/09/668/logs-monitoring/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

