<?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: Number Of Available CPU Cores In PHP</title>
	<atom:link href="http://www.incero.com/webdev/number-of-available-processing-cores-in-php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.incero.com/webdev/number-of-available-processing-cores-in-php</link>
	<description>Dedicated Server</description>
	<lastBuildDate>Mon, 03 Oct 2011 16:38:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Gordon</title>
		<link>http://www.incero.com/webdev/number-of-available-processing-cores-in-php/comment-page-1#comment-892</link>
		<dc:creator>Gordon</dc:creator>
		<pubDate>Mon, 03 Oct 2011 01:11:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.incero.com/?p=539#comment-892</guid>
		<description>Yes, much better!</description>
		<content:encoded><![CDATA[<p>Yes, much better!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrien</title>
		<link>http://www.incero.com/webdev/number-of-available-processing-cores-in-php/comment-page-1#comment-891</link>
		<dc:creator>Adrien</dc:creator>
		<pubDate>Mon, 03 Oct 2011 01:00:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.incero.com/?p=539#comment-891</guid>
		<description>What about 

exec(&quot;cat /proc/cpuinfo &#124; grep processor &#124; wc -l&quot;,$processors);
echo &quot;Number of processors on this machine is $processors!&quot;;

I thought about it reading your code. I agree, it&#039;s bash and not php.

I use this to evaluate the load of the server (300% on a 8 cores is less than on a 4 cores)</description>
		<content:encoded><![CDATA[<p>What about </p>
<p>exec(&#8220;cat /proc/cpuinfo | grep processor | wc -l&#8221;,$processors);<br />
echo &#8220;Number of processors on this machine is $processors!&#8221;;</p>
<p>I thought about it reading your code. I agree, it&#8217;s bash and not php.</p>
<p>I use this to evaluate the load of the server (300% on a 8 cores is less than on a 4 cores)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.incero.com/webdev/number-of-available-processing-cores-in-php/comment-page-1#comment-168</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 08 Dec 2010 06:32:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.incero.com/?p=539#comment-168</guid>
		<description>Great script, I just used it in one of my projects. Knowing how many cores are available and combining that with &quot;uptime&quot; we can figure out how many more video conversion processes our script should launch at any current time.</description>
		<content:encoded><![CDATA[<p>Great script, I just used it in one of my projects. Knowing how many cores are available and combining that with &#8220;uptime&#8221; we can figure out how many more video conversion processes our script should launch at any current time.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

