Linux中lspci命令有什么用

Linux中lspci命令有什么用

小编给大家分享一下Linux中lspci命令有什么用,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!

Linux常用命令lspci命令 用于显示当前主机的所有PCI总线信息,以及所有已连接的PCI设备信息。

lspci

显示当前主机的所有PCI总线信息

语法

lspci(选项)

选项

-n:以数字方式显示PCI厂商和设备代码;-t:以树状结构显示PCI设备的层次关系,包括所有的总线、桥、设备以及它们之间的联接;-b:以总线为中心的视图;-d:仅显示给定厂商和设备的信息;-s:仅显示指定总线、插槽上的设备和设备上的功能块信息;-i:指定PCI编号列表文件,而不使用默认的文件;-m:以机器可读方式显示PCI设备信息。

实例

[root@localhost~]#lspci00:00.0hostbridge:IntelCorporation5500I/OHubtoESIPort(rev22)00:01.0PCIbridge:IntelCorporation5520/5500/X58I/OHubPCIExpressRootPort1(rev22)00:02.0PCIbridge:IntelCorporation5520/5500/X58I/OHubPCIExpressRootPort2(rev22)00:03.0PCIbridge:IntelCorporation5520/5500/X58I/OHubPCIExpressRootPort3(rev22)00:07.0PCIbridge:IntelCorporation5520/5500/X58I/OHubPCIExpressRootPort7(rev22)00:08.0PCIbridge:IntelCorporation5520/5500/X58I/OHubPCIExpressRootPort8(rev22)00:09.0PCIbridge:IntelCorporation5520/5500/X58I/OHubPCIExpressRootPort9(rev22)00:0a.0PCIbridge:IntelCorporation5520/5500/X58I/OHubPCIExpressRootPort10(rev22)00:10.0PIC:IntelCorporation5520/5500/X58PhysicalandLinkLayerRegistersPort0(rev22)00:10.1PIC:IntelCorporation5520/5500/X58RoutingandProtocolLayerRegistersPort0(rev22)00:11.0PIC:IntelCorporation5520/5500PhysicalandLinkLayerRegistersPort1(rev22)00:11.1PIC:IntelCorporation5520/5500Routing&ProtocolLayerRegisterPort1(rev22)00:14.0PIC:IntelCorporation5520/5500/X58I/OHubSystemManagementRegisters(rev22)00:14.1PIC:IntelCorporation5520/5500/X58I/OHubGPIOandScratchPadRegisters(rev22)00:14.2PIC:IntelCorporation5520/5500/X58I/OHubControlStatusandRASRegisters(rev22)00:14.3PIC:IntelCorporation5520/5500/X58I/OHubThrottleRegisters(rev22)00:16.0Systemperipheral:IntelCorporation5520/5500/X58ChipsetQuickDataTechnologyDevice(rev22)00:16.1Systemperipheral:IntelCorporation5520/5500/X58ChipsetQuickDataTechnologyDevice(rev22)00:16.2Systemperipheral:IntelCorporation5520/5500/X58ChipsetQuickDataTechnologyDevice(rev22)00:16.3Systemperipheral:IntelCorporation5520/5500/X58ChipsetQuickDataTechnologyDevice(rev22)00:16.4Systemperipheral:IntelCorporation5520/5500/X58ChipsetQuickDataTechnologyDevice(rev22)00:16.5Systemperipheral:IntelCorporation5520/5500/X58ChipsetQuickDataTechnologyDevice(rev22)00:16.6Systemperipheral:IntelCorporation5520/5500/X58ChipsetQuickDataTechnologyDevice(rev22)00:16.7Systemperipheral:IntelCorporation5520/5500/X58ChipsetQuickDataTechnologyDevice(rev22)00:1a.0USBcontroller:IntelCorporation82801JI(ICH10Family)USBUHCIController#400:1a.1USBcontroller:IntelCorporation82801JI(ICH10Family)USBUHCIController#500:1a.7USBcontroller:IntelCorporation82801JI(ICH10Family)USB2EHCIController#200:1b.0Audiodevice:IntelCorporation82801JI(ICH10Family)HDAudioController00:1c.0PCIbridge:IntelCorporation82801JI(ICH10Family)PCIExpressRootPort100:1c.4PCIbridge:IntelCorporation82801JI(ICH10Family)PCIExpressRootPort500:1c.5PCIbridge:IntelCorporation82801JI(ICH10Family)PCIExpressRootPort600:1d.0USBcontroller:IntelCorporation82801JI(ICH10Family)USBUHCIController#100:1d.1USBcontroller:IntelCorporation82801JI(ICH10Family)USBUHCIController#200:1d.2USBcontroller:IntelCorporation82801JI(ICH10Family)USBUHCIController#300:1d.3USBcontroller:IntelCorporation82801JI(ICH10Family)USBUHCIController#600:1d.7USBcontroller:IntelCorporation82801JI(ICH10Family)USB2EHCIController#100:1e.0PCIbridge:IntelCorporation82801PCIBridge(rev90)00:1f.0ISAbridge:IntelCorporation82801JIR(ICH10R)lpcInterfaceController00:1f.2IDEinterface:IntelCorporation82801JI(ICH10Family)4portSATAIDEController#100:1f.3SMBus:IntelCorporation82801JI(ICH10Family)SMBusController00:1f.5IDEinterface:IntelCorporation82801JI(ICH10Family)2portSATAIDEController#201:01.0VGAcompatiblecontroller:ASPEEDTechnology,Inc.ASPEEDGraphicsFamily(rev10)02:00.0Ethernetcontroller:IntelCorporation82574LGigabitNetworkConnection03:00.0Ethernetcontroller:IntelCorporation82574LGigabitNetworkConnection04:00.0SerialAttachedSCSIcontroller:LSILogic/SymbiosLogicSAS2008PCI-ExpressFusion-MPTSAS-2[Falcon](rev03)

以上是“Linux中lspci命令有什么用”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注恰卡编程网行业资讯频道!

发布于 2022-02-11 22:45:11
收藏
分享
海报
0 条评论
36
上一篇:Linux中lvremove命令有什么用 下一篇:Linux中ngrep命令怎么用
目录

    0 条评论

    本站已关闭游客评论,请登录或者注册后再评论吧~

    忘记密码?

    图形验证码