mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-07 11:42:51 +00:00
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.
452 B
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