This commit is contained in:
darkclip committed 2024-01-30 07:39:11 +08:00
1 parent b5130f7c82
commit a24a499710
4 files changed
+44 -17

No files matched your search

Executable
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
shopt -s nullglob
for d in /sys/kernel/iommu_groups/*/devices/*; do
n=${d#*/iommu_groups/*}; n=${n%%/*}
printf 'IOMMU Group %s ' "$n"
lspci -nns "${d##*/}"
done;