Howto View and Limit Process CPU usage in Ubuntu Linux
This post was written by admin on September 17, 2009
Posted Under: General
Posted Under: General
For ubuntu users, we may want to get the process informations and limit the CPU usage of a process whenever we want.
Launch System Monitor from System->Administration->System Monitor.At Processes tab,you can see all processes and details.

You can also use this command to view processes details:
top
or
ps auxAnd if you want to limit cpu usage of a process,first install cpulimit with this command:
sudo aptitude install cpulimit
Then,limit the process in following ways:
limit the process with its name to 35%:
cpulimit -e process_name -l 35
limit the process with its ID to 35%:
cpulimit -p ID_here -l 35
Related posts:
- View and Kill current processes on Ubuntu
- List of commands determine system info/resources/partitions/process in Ubuntu Linux
- All manner of Shut down modes in Ubuntu Linux
- How to view PDF files online in Firefox on Ubuntu 9.10(Karmic)
- View PDFs and save web pages as PDF files in Firefox
Tags: tips

Reader Comments
Hello! Sorry klooper appropriate for my english jer, buti danged nice re say gJ$)Kd!!!.
[Reply]
WYTCk6 I want to say – thank you for this!
[Reply]
Hi! Repentant klooper in F7*&%^! home of my english jer, buti very enjoyable re suggest .
[Reply]
Of course,you can.Just gives original text link,thanks~!
[Reply]
I take it this is on a one time basis. How can one limit cpu use for an application permanently?
[Reply]