Skip to content

Commit f2bb296

Browse files
authored
Merge pull request #64186 from makelinux/230831+191947
simplify snippet for querying effective_affinity
2 parents d43da39 + 96e11cd commit f2bb296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cnf-about-irq-affinity-setting.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ If the effective affinity of any IRQ is set to an isolated CPU, it might be a si
2424

2525
[source,terminal]
2626
----
27-
$ find /proc/irq/ -name effective_affinity -exec sh -c 'i="$1"; mask=$(cat $i); file=$(echo $i); echo $file: $mask' _ {} \;
27+
$ find /proc/irq -name effective_affinity -printf "%p: " -exec cat {} \;
2828
----
2929

3030
.Example output

0 commit comments

Comments
 (0)