Linux howto find out or display IDs for adapters installed in a server

Q. How do find out which adapters (IDs for adapters) installed in a Linux sever or machine?

Advertisement

A. You need to use lspci command.

lspci is a command for displaying information about all PCI buses in the system and all devices connected to them.

Type lspci -n command to display the IDs for adapters installed in a particular Linux server system.
$ lspci | less
OR
$ lspci -n

-n option shows PCI vendor and device codes as numbers instead of looking them up in the PCI ID database.

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

1 comment… add one

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.