We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 558ebfa commit 6f7941dCopy full SHA for 6f7941d
scripts/affin.sh
@@ -0,0 +1,4 @@
1
+# show process affinities for running ansible-playbook
2
+who="$1"
3
+[ ! "$who" ] && who=ansible-playbook
4
+for i in $(pgrep -f "$who") ; do taskset -c -p $i ; done|cut -d: -f2|sort -n |uniq -c
0 commit comments