Last active
June 20, 2024 06:28
-
-
Save airled/76dd82d289ea0ed59b8bb7d76a867dbf to your computer and use it in GitHub Desktop.
Show list of process affinities ommiting threads
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Show list of process affinities omitting threads | |
for pid in $(ps --ppid 2 -p 2 --deselect -o pid=); do taskset -pc $pid 2>/dev/null; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment