This website works better with JavaScript.
Home
Explore
Help
Sign In
automation
/
linux-utils
mirror of
https://git.bjphoster.com/automation/linux-utils.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
added iommu-discovery utility
master
Bryan Pedini
6 years ago
parent
8f896625eb
commit
d5f20497d4
1 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
noos-noarch/home/bryanpedini/bin/iommu-discovery
+ 7
- 0
noos-noarch/home/bryanpedini/bin/iommu-discovery
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
for d in /sys/kernel/iommu_groups/*/devices/*; do
n=${d#*/iommu_groups/*}; n=${n%%/*}
printf 'IOMMU Group %s ' "$n"
lspci -nns "${d##*/}"
done;
Write
Preview
Loading…
Cancel
Save