Howto View and Limit Process CPU usage in Ubuntu Linux

This post was written by admin on September 17, 2009
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.
process
You can also use this command to view processes details:

top

or

ps aux

And 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:

  1. View and Kill current processes on Ubuntu
  2. List of commands determine system info/resources/partitions/process in Ubuntu Linux
  3. All manner of Shut down modes in Ubuntu Linux
  4. How to view PDF files online in Firefox on Ubuntu 9.10(Karmic)
  5. View PDFs and save web pages as PDF files in Firefox

    Tags:

    Reader Comments

    Hello! Sorry klooper appropriate for my english jer, buti danged nice re say gJ$)Kd!!!.

    [Reply]

    #1 
    Written By erafsmimi on September 29th, 2009 @ 7:45 am

    WYTCk6 I want to say – thank you for this!

    [Reply]

    #2 
    Written By lilikindsli on October 1st, 2009 @ 6:19 am

    Hi! Repentant klooper in F7*&%^! home of my english jer, buti very enjoyable re suggest .

    [Reply]

    #3 
    Written By endaggegE on October 4th, 2009 @ 7:51 pm

    Of course,you can.Just gives original text link,thanks~!

    [Reply]

    #4 
    Written By admin on December 25th, 2009 @ 5:28 am

    I take it this is on a one time basis. How can one limit cpu use for an application permanently?

    [Reply]

    #5 
    Written By ethnopunk on January 3rd, 2010 @ 8:41 am

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address