💾 Archived View for freeshell.de › tldr › taskset.gmi captured on 2022-04-28 at 19:36:45. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

taskset

Get or set a process' CPU affinity or start a new process with a defined CPU affinity.

More information.

taskset --pid --cpu-list {pid}
taskset --pid --cpu-list {cpu_id} {pid}
taskset --cpu-list {cpu_id} {command}
taskset --cpu-list {cpu_id_1},{cpu_id_2},{cpu_id_3}
taskset --cpu-list {cpu_id_1}-{cpu_id_4}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY