process_set_priority
Set the CPU priority of a process by PID, using a nice value from -20 (highest) to 19 (lowest) to control resource allocation.
Instructions
Set nice priority level (-20 to 19) of a process by PID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Target Process ID (PID). | |
| priority | No | Nice priority level (-20 highest priority to 19 lowest priority). |