Add some pre-existing scripts.

This commit is contained in:
Lukáš Kucharczyk
2020-07-30 15:44:20 +02:00
parent 848694ed11
commit e1434f1a1e
9 changed files with 181 additions and 0 deletions

9
lsiommu Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
shopt -s nullglob
for g in /sys/kernel/iommu_groups/*; do
echo "IOMMU Groups ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done;
done;