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

  • From: jemenisuresh@xxxxxxxxx (jemenisuresh)
  • Date: Mon Jun 21 21:00:25 2010

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

Other related posts: