Page 1 of 1

immo groups

Posted: Sun Oct 15, 2023 5:17 am
by zemerdon

Code: Select all

#!/bin/bash
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;