termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Start a new process with affinity for multiple non-sequential CPUs
taskset
Get or set a process' CPU affinity or start a new process with a defined CPU affinity.
More information: <https://manned.org/taskset>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
taskset --cpu-list {{cpu_id_1}},{{cpu_id_2}},{{cpu_id_3}}
click the source code to copy
install
taskset
on any operating system with
command-not-found.com