2025-03-14 21:59:59 -06:00
|
|
|
# lspci
|
|
|
|
|
|
|
|
|
|
> List all PCI devices.
|
|
|
|
|
> More information: <https://manned.org/lspci>.
|
|
|
|
|
|
|
|
|
|
- Show a brief list of devices:
|
|
|
|
|
|
|
|
|
|
`lspci`
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Display [v]erbose information (Note: the `-v` flag can be repeated to increase verbosity):
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`lspci -v`
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Display [k]ernel drivers and modules handling each device:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`lspci -k`
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- [s]elect a specific device:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`lspci -s {{00:18.3}}`
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Dump info in a ([m]achine) readable form:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`lspci -vm`
|
2025-09-14 18:48:49 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Show PCI vendor and device codes as both [n]umbers and [n]ames:
|
2025-09-14 18:48:49 -06:00
|
|
|
|
|
|
|
|
`lspci -nn`
|