Artificial intelligent assistant

Linux: how to know which processes are pinned to which core? Is there a way to know which cores currently have a process pinned to them? Even processes run by other users should be listed in the output. Or, is it possible to try pinning a process to a core but fail in case the required core already has a process pinned to it? PS: processes of interest must have bin pinned to the given cores, not just currently running on the given core PS: this is not a duplicate, the other question is on how to ensure exclusive use of one CPU by one process. Here we are asking how to detect that a process was pinned to a given core (i.e. cpuset was used, not how to use it).

Answer to myself: hwloc-bind from Linux (and homebrew for Macs) package hwloc. Cf. < for some doc.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy a0874f3f64f9e44318695be43b63c6a7