Page tree

This task describes how to reprioritize an individual process. Reprioritizing a process's execution is commonly referred to as renicing. Priorities, or nice values, range from -20 (highest) to 20 (lowest: process will run when no other process attempts to run). To lower a process's priority, you must raise its nice value. To raise a process's priority you must lower its nice value.

Before you begin

  • At a UNIX command prompt, use the UNIX list active processes command with the long option (ps -l) to find the process ID and current priority of the process whose execution priority you want to change. The execution priority, also referred to as the nice value, is stored in the NI column.
  • Only privilege users can decrease the nice value. Other users can only increase the nice value within the range 0 to 20.

To Reprioritize a Process

  1. Access the PROCESS application menu as described in Accessing KM Commands and InfoBoxes.
  2. Select Renice Process.
    BMC PATROL displays the Renice Process dialog box.

    Renice Process Dialog Box
  3. Type the Process ID number in the Enter Process ID field.
  4. Type an integer value for the amount you want to lower or raise the priority in the Enter Priority field of the dialog box. Negative values are valid.
    The larger the number that you enter is, the lower the resulting priority of the process; the smaller the number is, the higher the priority.

    Example

    To raise the priority from 8 to 6, type a value of -2 in the Enter Priority field.

  5. Click Apply.
    BMC PATROL prompts you for a user name and password.

    Renice Process Confirmation Dialog Box
  6. Enter the user name and password of the owner of the process or an account with privileges to reprioritize it, and click OK. BMC PATROL writes a confirmation message to the system output window. Your result should resemble this example:

    CCYY0614153103 PROCESS: Renice process 333 to priority: 6

Related topics

Process (PROCESS)

Process Presence (PROCPRES)

Unix Processes (PROCCONT)

 

 

  • No labels