Find the answer to your Linux question:
Results 1 to 3 of 3
I have run very sensitive programs that act as a server for clients. Since I use so many resources, whenever I do something extensive like using a find + a ...
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    7

    Setting high priority to process



    I have run very sensitive programs that act as a server for clients. Since I use so many resources, whenever I do something extensive like using a find + a xargs grep command sometimes it will cause a few of the servers to disconnect.

    What is the easiest way to prevent this besides not running the commands? Is there any way I can tell linux to have the highest priority to those servers?

  2. #2
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Maybe with renice.
    Debian GNU/Linux -- You know you want it.

  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    as GNUFan said , use
    renice
    renice priority process_id
    Negative values refers higher priority (-19 highest priority)
    man renice
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

Posting Permissions

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