HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

lspci — List all PCI devices. More information: <https://manned.org/lspci>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commanddevicesallpciclilspcimorelist
linux

Problem

How to use the lspci command: List all PCI devices. More information: <https://manned.org/lspci>.

Solution

lspci — List all PCI devices. More information: <https://manned.org/lspci>.

Show a brief list of devices:
lspci


Display [v]erbose information (Note: the -v flag can be repeated to increase verbosity):
lspci -v


Display [k]ernel drivers and modules handling each device:
lspci -k


[s]elect a specific device:
lspci -s {{00:18.3}}


Dump info in a ([m]achine) readable form:
lspci -vm


Show PCI vendor and device codes as both [n]umbers and [n]ames:
lspci -nn

Code Snippets

Show a brief list of devices

lspci

Display [v]erbose information (Note: the `-v` flag can be repeated to increase verbosity)

lspci -v

Display [k]ernel drivers and modules handling each device

lspci -k

[s]elect a specific device

lspci -s {{00:18.3}}

Dump info in a ([m]achine) readable form

lspci -vm

Context

tldr-pages: linux/lspci

Revisions (0)

No revisions yet.