Page 11 of 11 FirstFirst ... 91011
Results 101 to 104 of 104

Thread: HOWTO: Set maximum CPU consumption in percentage by any process

  1. #101
    Join Date
    Apr 2007
    Beans
    19

    Re: HOWTO: Set maximum CPU consumption in percentage by any process

    Is there any way to run it on mac osx? I know that cpulimit works fine on osx

  2. #102
    Join Date
    Mar 2007
    Beans
    613

    Re: HOWTO: Set maximum CPU consumption in percentage by any process

    @gagginaspinnata, I don't know, I don't have a mac, but osx is a unix like system, so it may work. You will need to test it to see how it is working - most probably the start-up scripts will not work, but cpulimit deamon could.

  3. #103
    Join Date
    Jan 2013
    Beans
    1

    Question Re: HOWTO: Set maximum CPU consumption in percentage by any process

    Hi,

    I have two processes on my server with the same name and using your scripts it only traps one of them.

    So for example is you ran this commend twice to generate fake load.
    dd if=/dev/zero of=/dev/null &
    And then in the blacklist you set the variable equal to dd
    it would only trap the first instance of the process name. Can you let me know how I can trap all processes with this name on the server rather than just the first one.

    P.S. abcuser - u provided an awesome script.

  4. #104
    Join Date
    Jul 2011
    Beans
    12

    Re: HOWTO: Set maximum CPU consumption in percentage by any process

    Don't limit root processes. When I tried to limit Xorg process via
    gnome-terminal, system hanged(ubuntu 12.04).
    Please add "root" to white list as below
    WHITE_PROCESSES_LIST="root"

Page 11 of 11 FirstFirst ... 91011

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •