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?

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.

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 1 comment… read it below or add one }

1 Goodvin 09.04.06 at 7:13 am

You may use http://kmuto.jp/debian/hcl/index.cgi to decode lspci -n output.

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post: Fun With UNIX or Linux Commands

Next post: Howto: Build Linux Kernel Module Against Installed Kernel w/o Full Kernel Source Tree