Merge branch 'master' of github.com:bryanpedini/linux-utils

This commit is contained in:
Bryan Joshua Pedini 2020-03-06 12:02:36 +01:00
commit a577cc5423
2 changed files with 10 additions and 0 deletions

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;

View File

@ -0,0 +1,3 @@
#!/bin/sh
ssh-keygen -p