set_process_priority
Set the nice value for a process to adjust its CPU scheduling priority. Provide the process ID and a priority between -20 and 19.
Instructions
Set process priority (nice value)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Process ID | |
| priority | Yes | Nice value (-20 to 19) |