<?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: cpulimit: 限制进程的 CPU 占用率</title>
	<atom:link href="http://linuxtoy.org/archives/cpulimit.html/feed" rel="self" type="application/rss+xml" />
	<link>http://linuxtoy.org/archives/cpulimit.html</link>
	<description>LinuxTOY 是一个致力于提供 Linux 相关资讯的专题站点。如果您发现了好用好玩的 Linux 东东并愿意发扬自由、分享的精神，可以点击顶部导航 Contact 按钮进行投稿。</description>
	<lastBuildDate>Tue, 22 May 2012 15:26:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: flay</title>
		<link>http://linuxtoy.org/archives/cpulimit.html#comment-183679</link>
		<dc:creator>flay</dc:creator>
		<pubDate>Fri, 07 Jan 2011 01:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/cpulimit.html#comment-183679</guid>
		<description>&lt;p&gt;确实可以用来限制一下wine的一些程序
动不动就100%，太崩溃了&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>确实可以用来限制一下wine的一些程序
动不动就100%，太崩溃了</p>]]></content:encoded>
	</item>
	<item>
		<title>By: walkerxk</title>
		<link>http://linuxtoy.org/archives/cpulimit.html#comment-169574</link>
		<dc:creator>walkerxk</dc:creator>
		<pubDate>Sun, 26 Sep 2010 05:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/cpulimit.html#comment-169574</guid>
		<description>&lt;p&gt;@&lt;a href=&quot;#comment-142454&quot; rel=&quot;nofollow&quot;&gt;shellexy&lt;/a&gt;: -c3的时候-n7没用了吧。&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-142454" rel="nofollow">shellexy</a>: -c3的时候-n7没用了吧。</p>]]></content:encoded>
	</item>
	<item>
		<title>By: limlzm</title>
		<link>http://linuxtoy.org/archives/cpulimit.html#comment-142866</link>
		<dc:creator>limlzm</dc:creator>
		<pubDate>Tue, 02 Mar 2010 02:18:14 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/cpulimit.html#comment-142866</guid>
		<description>&lt;p&gt;测试了下，cpulimit有个致命的问题，就是限制的程序如果存在异常那么cpulimit也会跟着崩溃，并且限制的程序会迅速疯涨导致整个系统的稳定。&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>测试了下，cpulimit有个致命的问题，就是限制的程序如果存在异常那么cpulimit也会跟着崩溃，并且限制的程序会迅速疯涨导致整个系统的稳定。</p>]]></content:encoded>
	</item>
	<item>
		<title>By: nick</title>
		<link>http://linuxtoy.org/archives/cpulimit.html#comment-142860</link>
		<dc:creator>nick</dc:creator>
		<pubDate>Tue, 02 Mar 2010 01:56:35 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/cpulimit.html#comment-142860</guid>
		<description>&lt;p&gt;不错，不错，同时ionice看上去也很有用啊。&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>不错，不错，同时ionice看上去也很有用啊。</p>]]></content:encoded>
	</item>
	<item>
		<title>By: masiqi</title>
		<link>http://linuxtoy.org/archives/cpulimit.html#comment-142760</link>
		<dc:creator>masiqi</dc:creator>
		<pubDate>Mon, 01 Mar 2010 16:58:49 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/cpulimit.html#comment-142760</guid>
		<description>&lt;p&gt;@&lt;a href=&quot;#comment-142351&quot; rel=&quot;nofollow&quot;&gt;swam&lt;/a&gt;: 
同上.....&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-142351" rel="nofollow">swam</a>: 
同上.....</p>]]></content:encoded>
	</item>
	<item>
		<title>By: walkerxk</title>
		<link>http://linuxtoy.org/archives/cpulimit.html#comment-142570</link>
		<dc:creator>walkerxk</dc:creator>
		<pubDate>Mon, 01 Mar 2010 01:40:07 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/cpulimit.html#comment-142570</guid>
		<description>&lt;p&gt;@&lt;a href=&quot;#comment-142442&quot; rel=&quot;nofollow&quot;&gt;ebird&lt;/a&gt;: 不是吧？如果是被杀，那不用这么麻烦，top+kill，自己写个脚本就行了。&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-142442" rel="nofollow">ebird</a>: 不是吧？如果是被杀，那不用这么麻烦，top+kill，自己写个脚本就行了。</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jianingy</title>
		<link>http://linuxtoy.org/archives/cpulimit.html#comment-142466</link>
		<dc:creator>jianingy</dc:creator>
		<pubDate>Sat, 27 Feb 2010 15:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/cpulimit.html#comment-142466</guid>
		<description>&lt;p&gt;debian发行版的quagga里面ospfd就是用这个限制cpu开销。不过，这个东西是利用向进程持续发送SIGSTOP和SIGCONT来搞的，strace的时候看到他不停在发送这俩信号，增加了很多content switch的开销。总是感觉有点浪费。。。:)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>debian发行版的quagga里面ospfd就是用这个限制cpu开销。不过，这个东西是利用向进程持续发送SIGSTOP和SIGCONT来搞的，strace的时候看到他不停在发送这俩信号，增加了很多content switch的开销。总是感觉有点浪费。。。:)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: shellexy</title>
		<link>http://linuxtoy.org/archives/cpulimit.html#comment-142454</link>
		<dc:creator>shellexy</dc:creator>
		<pubDate>Sat, 27 Feb 2010 13:50:55 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/cpulimit.html#comment-142454</guid>
		<description>&lt;p&gt;这个是让程序超出限制后杀掉，并不能“让它不卡”，&lt;/p&gt;

&lt;p&gt;只是不要卡的话，用
&lt;pre&gt; ionice -c 3 命令&lt;/pre&gt;
或极端些的
&lt;pre&gt; ionice -n 7 -c 3 命令&lt;/pre&gt;
来削弱 io 就好&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>这个是让程序超出限制后杀掉，并不能“让它不卡”，</p>

<p>只是不要卡的话，用
<pre> ionice -c 3 命令</pre>
或极端些的
<pre> ionice -n 7 -c 3 命令</pre>
来削弱 io 就好</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Fwolf</title>
		<link>http://linuxtoy.org/archives/cpulimit.html#comment-142446</link>
		<dc:creator>Fwolf</dc:creator>
		<pubDate>Sat, 27 Feb 2010 13:14:17 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/cpulimit.html#comment-142446</guid>
		<description>&lt;p&gt;同walkerxk
如果有限制磁盘io的就好了。&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>同walkerxk
如果有限制磁盘io的就好了。</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ebird</title>
		<link>http://linuxtoy.org/archives/cpulimit.html#comment-142442</link>
		<dc:creator>ebird</dc:creator>
		<pubDate>Sat, 27 Feb 2010 12:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/cpulimit.html#comment-142442</guid>
		<description>&lt;p&gt;@&lt;a href=&quot;#comment-142347&quot; rel=&quot;nofollow&quot;&gt;fcicq&lt;/a&gt;: 
我记得怎么是 如果这个程序必须执行那么多任务, 结果被你限制住了, 那么程序只会……被杀～&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-142347" rel="nofollow">fcicq</a>: 
我记得怎么是 如果这个程序必须执行那么多任务, 结果被你限制住了, 那么程序只会……被杀～</p>]]></content:encoded>
	</item>
</channel>
</rss>

