Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the use of the lspci command in Linux

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you what is the use of the lspci command in Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

The Linux common command lspci command is used to display all PCI bus information for the current host, as well as information for all connected PCI devices.

Lspci displays all PCI bus information for the current host

Syntax lspci (option) option-n: displays PCI vendor and device codes digitally;-t: displays the hierarchical relationship of PCI devices in a tree structure, including all buses, bridges, devices, and connections between them;-b: bus-centric view;-d: displays only information about given vendors and devices;-s: displays only function block information on specified buses, devices on slots, and devices. -I: specifies the PCI numbered list file instead of the default file;-m: displays PCI device information in a machine-readable manner. Example [root@localhost ~] # lspci 00host bridge 00.0 host bridge: Intel Corporation 5500 O Hub PCI Express Root Port O Hub to ESI Port (rev 22) 00 host bridge 01.0 PCI bridge: Intel Corporation 5520/5500/X58 I Hub PCI Express Root Port O Hub PCI Express Root Port 1 (rev 22) 00 host bridge 02.0 PCI bridge: Intel Corporation 5520/5500/X58 I Hub PCI Express Root Port 2 (rev 22) 00 PCI bridge 03.0 PCI bridge: Intel Corporation 5520/5500/X58 I Hub PCI Express Root Port O Hub PCI Express Root Port 3 (rev 22) 00:07 .0 PCI bridge: Intel Corporation 5520/5500/X58 Hub PCI Express Root Port O Hub PCI Express Root Port 7 (rev 22) 00 Hub PCI Express Root Port 08.0 PCI bridge: Intel Corporation 5520/5500/X58 I rev O Hub PCI Express Root Port 8 (rev 22) 00 Hub PCI Express Root Port 09.0 PCI bridge: Intel Corporation 5520/5500/X58 I 00:0a.0 PCI bridge O Hub PCI Express Root Port 9 (rev 22) 00:0a.0 PCI bridge: Intel Corporation 5520/5500/X58 I 00:0a.0 PCI bridge O Hub PCI Express Root Port 10 (rev 22) 00 Hub PCI Express Root Port 10.0 PIC: Intel Corporation 5520 / 5500/X58 Physical and Link Layer Registers Port 0 (rev 22) 00 Routing 10.1 PIC: Intel Corporation 5520/5500/X58 Routing and Protocol Layer Registers Port 0 (rev 22) 00 PIC 11.0 PIC: Intel Corporation 5520 Physical and Link Layer Registers Port 5500 Routing 1 (rev 22) 00 Routing 11.1 PIC: Intel Corporation 5520 Routing & Protocol Layer Register Port 1 (rev 22) 00 Routing 14.0 PIC: Intel Corporation 5520/5500/X58 I Hub System Management Registers O Hub System Management Registers (rev 22) 00PIC 14.1 PIC: Intel Corporation 5520 / 5500/X58 I Intel Corporation 5520/5500/X58 O Hub GPIO and Scratch Pad Registers (rev 22) 00 PIC 14.2 PIC: Intel Corporation 5520/5500/X58 I pick O Hub Control Status and RAS Registers (rev 22) 00 rev 14.3 PIC: Intel Corporation 5520/5500/X58 I pick O Hub Throttle Registers (rev 22) 00 System peripheral 16.0 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 22) 00 Swiss 16.1 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 22) 00 Swiss 16.2 System Peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 22) 00 System peripheral 16.3 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 22) 00 System peripheral 16.4 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 22) 00 System peripheral 16.5 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 22) 00 rev 16.6 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 22) 00 Swiss 16.7 System peripheral: Intel Corporation 5520 / 5500/X58 Chipset QuickData Technology Device (rev 22) 00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller # 4 00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller # 500: 1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller # 2 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller 00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5 00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6 00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller # 1 00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller # 2 00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller # 3 00:1d.3 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller # 6 00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller # 1 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90) 00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) lpc Interface Controller 00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller # 1 00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller 00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller # 2 01.0 VGA compatible controller: ASPEED Technology Inc. ASPEED Graphics Family (rev 10) 02rev 00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection 03VR 00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection 04VR 00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03) these are all the contents of the article "what is the use of lspci commands in Linux" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 223

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report