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

in Categories Linux, News last updated September 1, 2006

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

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
$ lspci -n

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

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 1 comments/add one below):

1 comment

    Have a question? Post it on our forum!