Linux: how to know which processes are pinned to which core?
18
votes
4
answers
62106
views
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).
Asked by daruma
(488 rep)
Feb 19, 2018, 02:59 AM
Last activity: May 28, 2022, 05:29 AM
Last activity: May 28, 2022, 05:29 AM