set_priority
Set a running process's priority class by PID to control CPU scheduling, from idle to realtime. Use realtime cautiously, as it can starve other system activity.
Instructions
Sets a process' priority class: idle, below_normal, normal, above_normal, high or realtime (realtime can starve the rest of the system).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| force | No | ||
| priority | Yes | idle, below_normal, normal, above_normal, high or realtime. |