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

நன்றிகளுடன்,

த.சு

Published by Tha.Suresh

No pain No gain!

Leave a comment