lspci

Updated

July 31, 2026

Overview

lspci lists PCI devices (NICs, GPUs, storage controllers, bridges). Part of pciutils.

Syntax

lspci [options]

Common Options

Option Description
-v / -vv Verbose
-k Kernel drivers in use/modules
-nn Numeric vendor:device codes
-s slot Specific device
-d vendor:device Filter IDs
-t Tree
-mm Machine-readable

Examples with Explanations

lspci
lspci -nn
lspci -k
lspci -v | less
lspci -s 00:1f.2 -vv
lspci | grep -i ethernet
lspci | grep -i nvidia

Driver / module debug

lspci -nnk | grep -A3 -i network

Notes

  • Update PCI IDs: sudo update-pciids.
  • Needs root for some extended config space reads (-vv as root).