Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the lspci command of linux to display all PCI bus information of the current device

Shulou Source: shulou.com Published: 2022-06-02 13:48:52 10月03日 Update

This article will explain in detail about using the lspci command of linux to display all the PCI bus information of the current device. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

The lspci command is used to display all PCI bus information for the current host, as well as information for all connected PCI devices. Nowadays, mainstream devices such as network card storage all use PCI bus.

Syntax format: lspci [parameters]

Common parameters:

-n displays PCI manufacturer and device codes digitally-t displays hierarchical relationships of PCI devices in a tree structure-b bus-centric view-s displays only device and function block information for specified bus slots-I specifies PCI numbering list file, does not use the default file-m to display PCI device information in a machine-readable manner

Reference example

Displays all PCI bus information for the current host:

[root@linuxcool ~] # lspci

Display the hierarchical relationship of PCI devices in a tree structure:

[root@linuxcool] # lspci-t on using the lspci command of linux to display all the PCI bus information of the current device is shared here. I hope the above content can be helpful to you and learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Devices information buses commands hosts parameters levels files methods more articles structures references good practical mainstream code content functions vendors Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Huawei Shulou Tech Info Microsoft Redmi