[Ilugc] [Tip] Limit the CPU usage of a certain application in Linux

  • From: anupama.2312.bmsit@xxxxxxxxx (anu nivas)
  • Date: Tue Jun 22 08:33:59 2010

Hello,
Does limiting CPU usage mean the time taken by the application to use the
CPU?Would'nt limiting usage slow down the application?
Anupama

On Mon, Jun 21, 2010 at 8:59 PM, jemenisuresh <jemenisuresh@xxxxxxxxx>wrote:

Limit the CPU usage of a certain application in Linux

You can do this by installing cpulimit. You can limit a certain
running application either by name or by process ID:

cpulimit -e firefox -l 30

This won?t let Firefox go beyond a 30% CPU usage limit.
If you?d rather go by process, you can do it like this:

cpulimit -p 3493 -l 40


--
Regards,
Tha.Suresh

Kanchi Linux User Group Rocks !!!!
http://kanchilug.wordpress.com

My experiences with Linux are here,
http://thasulinux.wordpress.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Other related posts: