set_affinity
Set the logical processors a process may run on by assigning a CPU list, enabling workload isolation and CPU load management.
Instructions
Sets which logical processors a process may run on (its affinity).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| cpus | Yes | The logical processors it may run on, from 0 (get_cpu lists them). | |
| force | No |