Networking HowTos
Networking HowTos

Installing lspci on CentOS

June 23, 2012 CentOS, Linux

The lspci command, which can be found in the pciutils package, is a great tool for finding information on the devices in your PC. the lspci command will allow you to get the model number/chip details for devices such as network interface cards, sound cards, raid cards, etc.
To install pciutils on CentOS/RHEL using yum:
(make sure you are logged in with root privileges)

# yum install pciutils

Example installation output:

# yum install pciutils
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
 * base: mirror.internode.on.net
 * extras: mirror.internode.on.net
 * updates: mirror.internode.on.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package pciutils.x86_64 0:3.1.4-11.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================
 Package             Arch              Version                  Repository       Size
======================================================================================
Installing:
 pciutils            x86_64            3.1.4-11.el6             base             83 k
Transaction Summary
======================================================================================
Install       1 Package(s)
Total download size: 83 k
Installed size: 177 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 83 k
pciutils-3.1.4-11.el6.x86_64.rpm                               |  83 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : pciutils-3.1.4-11.el6.x86_64                                       1/1
Installed:
  pciutils.x86_64 0:3.1.4-11.el6
Complete!
#

Running lspci:

# lspci

Output example:

# lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10)
00:0f.0 VGA compatible controller: VMware SVGA II Adapter
00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
00:11.0 PCI bridge: VMware PCI bridge (rev 02)
00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.5 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.6 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.7 PCI bridge: VMware PCI Express Root Port (rev 01)
02:00.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)
#

You Might Also Like