mirror of
				https://github.com/WarrenHood/dotfiles.git
				synced 2025-11-04 08:38:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			233 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			233 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/env bash
 | 
						|
shopt -s nullglob
 | 
						|
for g in `find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V`; do
 | 
						|
    echo "IOMMU Group ${g##*/}:"
 | 
						|
    for d in $g/devices/*; do
 | 
						|
        echo -e "\t$(lspci -nns ${d##*/})"
 | 
						|
    done;
 | 
						|
done;
 |