mirror of https://github.com/Chizi123/Scripts.git

Joel Grunbaum
2021-07-27 ea9da2c385dde48411e0500d10a778cbde000896
commit | author | age
64e605 1 #!/bin/bash
JG 2 shopt -s nullglob
3 for g in /sys/kernel/iommu_groups/*; do
4     echo "IOMMU Group ${g##*/}:"
5     for d in $g/devices/*; do
6         echo -e "\t$(lspci -nns ${d##*/})"
7     done;
8 done;