6 lines
180 B
Plaintext
6 lines
180 B
Plaintext
|
for d in $(find /sys/kernel/iommu_groups/ -type l | sort -n -k5 -t/); do
|
||
|
n=${d#*/iommu_groups/*}; n=${n%%/*}
|
||
|
printf 'IOMMU Group %s ' "$n"
|
||
|
lspci -nns "${d##*/}"
|
||
|
done;
|