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

Joel Grunbaum
2020-05-18 ae2fb4c4827c61ac450f302714c5042b3c886609
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;