termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Start a new process with affinity for CPUs 1 through 4
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_4}}
click the source code to copy
install
taskset
on any operating system with
command-not-found.com