dashboard
repositories
filestore
activity
search
login
main
/
Scripts
mirror of
https://github.com/Chizi123/Scripts.git
summary
commits
tree
docs
forks
compare
view
|
history
|
commit
|
commitdiff
show IOMMU groups and backup work script
Joel Grunbaum
2020-02-15
64e605c546cdcf141ca7d75010ed4f1c4d462f4f
[Scripts.git]
/
IOMMU.sh
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;