ladybird/Base/usr/share/man/man8/lspci.md
Liav A a91da67216 Utilities/lspci: Iterate over /sys/bus/pci instead of reading /proc/pci
This opens many opportunities to add more data printed in lspci in a
flexible manner - so instead of reading an ever-expanding JSON encoded
file, we can add more features and let the utility read the directory
entries from sysfs.

This also allows not only filtering data on devices but to easily filter
non-wanted devices when printing the output.
2022-03-08 21:52:10 +01:00

452 B

Name

lspci - list connected PCI devices

Synopsis

$ lspci

Description

lspci is a utility for displaying information about PCI buses in the system and devices connected to them. It shows a brief list of devices.

Files

  • /sys/bus/pci - source of the PCI devices list.
  • /res/pci.ids - a database of PCI identifiers used to match available devices to their vendor, device and class names.

Examples

$ lspci