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

Joel Grunbaum
2020-03-21 d5dc589ced91efb624ef17092707bd829c1228f6
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;