To see information about PCI devices on CentOS 7 / Red Hat Enterprise Linux 7.x / 8.x, you can use the “lspci” command. The “lspci” command is a part of the “pciutils” package and can be installed by running the following command:
# yum install pciutils
Once the package is installed, you can run the following command to see information about PCI devices:
# lspci
This will display a list of all PCI devices connected to your system, including their vendor, device name, and other details.
If you want to see detailed information about a specific device, you can use the following command:
Replace “<device_id>” with the device ID of the device you want to see information about. The device ID is the first column of the output of the “lspci” command.
That’s it! You have now seen information about PCI devices on your CentOS 7 / Red Hat Enterprise Linux 7.x / 8.x system.