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

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

த.சு

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s