Created
October 9, 2024 23:03
-
-
Save gregjhogan/9aac0c8889b12d856b4489908062ada0 to your computer and use it in GitHub Desktop.
Find PCIe devices that have non-zero AER stats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -1d /sys/bus/pci/devices/* | xargs -I {} sh -c "echo {}; cat {}/aer_dev_* 2>/dev/null|grep -v 0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment