lspci - 列出所有PCI设备

PCI 的科普:

PCI(Peripheral Component Interconnect),是一种连接电子计算机主板和外部设备的总线标准。

常见的PCI卡包括网卡、声卡、调制解调器、电视卡和磁盘控制器,还有USB和串口等端口。原本显卡通常也是PCI设备,但很快其带宽已不足以支持显卡的性能。PCI显卡现在仅用在需要额外的外接显示器或主板上没有AGP和PCI Express槽的情况。

先看下lspci执行的效果,可以查看到硬件信息:

:00.0 Host bridge: Intel Corporation Xeon E3- v3/4th Gen Core Processor DRAM Controller (rev )
:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev )
:03.0 Audio device: Intel Corporation Xeon E3- v3/4th Gen Core Processor HD Audio Controller (rev )
:14.0 USB controller: Intel Corporation Series/C220 Series Chipset Family USB xHCI (rev )
:16.0 Communication controller: Intel Corporation Series/C220 Series Chipset Family MEI Controller # (rev )
:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev )
:1a. USB controller: Intel Corporation Series/C220 Series Chipset Family USB EHCI # (rev )
:1b. Audio device: Intel Corporation Series/C220 Series Chipset High Definition Audio Controller (rev )
:1c. PCI bridge: Intel Corporation Series/C220 Series Chipset Family PCI Express Root Port # (rev d4)
:1c. PCI bridge: Intel Corporation Series/C220 Series Chipset Family PCI Express Root Port # (rev d4)
:1c. PCI bridge: Intel Corporation Series/C220 Series Chipset Family PCI Express Root Port # (rev d4)
:1d. USB controller: Intel Corporation Series/C220 Series Chipset Family USB EHCI # (rev )
:1f. ISA bridge: Intel Corporation QM87 Express LPC Controller (rev )
:1f. SATA controller: Intel Corporation Series/C220 Series Chipset Family -port SATA Controller [AHCI mode] (rev )
:1f. SMBus: Intel Corporation Series/C220 Series Chipset Family SMBus Controller (rev )
:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev )
:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter

来几个简单的例子吧:

lspci -mm   machine-readable(怎么翻译??)输出

$ lspci -mm
:00.0 "Host bridge" "Intel Corporation" "Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller" -r06 "Lenovo" "Device 2210"
:02.0 "VGA compatible controller" "Intel Corporation" "4th Gen Core Processor Integrated Graphics Controller" -r06 "Lenovo" "Device 2210"
:03.0 "Audio device" "Intel Corporation" "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller" -r06 "Lenovo" "Device 2210"
:14.0 "USB controller" "Intel Corporation" "8 Series/C220 Series Chipset Family USB xHCI" -r04 -p30 "Lenovo" "Device 2210"
:16.0 "Communication controller" "Intel Corporation" "8 Series/C220 Series Chipset Family MEI Controller #1" -r04 "Lenovo" "Device 2210"
:19.0 "Ethernet controller" "Intel Corporation" "Ethernet Connection I217-LM" -r04 "Lenovo" "Device 2210"
:1a. "USB controller" "Intel Corporation" "8 Series/C220 Series Chipset Family USB EHCI #2" -r04 -p20 "Lenovo" "Device 2210"
:1b. "Audio device" "Intel Corporation" "8 Series/C220 Series Chipset High Definition Audio Controller" -r04 "Lenovo" "Device 2210"
:1c. "PCI bridge" "Intel Corporation" "8 Series/C220 Series Chipset Family PCI Express Root Port #1" -rd4 "" ""
:1c. "PCI bridge" "Intel Corporation" "8 Series/C220 Series Chipset Family PCI Express Root Port #2" -rd4 "" ""
:1c. "PCI bridge" "Intel Corporation" "8 Series/C220 Series Chipset Family PCI Express Root Port #3" -rd4 "" ""
:1d. "USB controller" "Intel Corporation" "8 Series/C220 Series Chipset Family USB EHCI #1" -r04 -p20 "Lenovo" "Device 2210"
:1f. "ISA bridge" "Intel Corporation" "QM87 Express LPC Controller" -r04 "Lenovo" "Device 2210"
:1f. "SATA controller" "Intel Corporation" "8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]" -r04 -p01 "Lenovo" "Device 2210"
:1f. "SMBus" "Intel Corporation" "8 Series/C220 Series Chipset Family SMBus Controller" -r04 "Lenovo" "Device 2210"
:00.0 "Unassigned class [ff00]" "Realtek Semiconductor Co., Ltd." "RTS5227 PCI Express Card Reader" -r01 "Lenovo" "Device 2210"
:00.0 "Network controller" "Realtek Semiconductor Co., Ltd." "RTL8192EE PCIe Wireless Network Adapter" "Realtek Semiconductor Co., Ltd." "Device 001b"

lspci -v | grep 8192  查看详细信息(全部的话,信息太多,就用grep过滤下吧):

$ lspci -v | grep
:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
Kernel driver in use: r8192ee

lspci -vv | grep 8192  查看更详细信息(糗,这边2个没有区别):

$ lspci -vv | grep
:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
Kernel driver in use: r8192ee

lpci -k  查看每个硬件对应的驱动

$ lspci -k | grep
:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
Kernel driver in use: r8192ee

其他的比较深奥,暂时就不看了,今天还有很多命令需要科普呢。

参考:

PCI(维基)

Linux lspci查看硬件设备

lspci(8) - Linux man page

lspci通过系统总线查看硬件设备信息的更多相关文章

  1. linux常用查看硬件设备信息命令

    转载:http://blog.chinaunix.net/uid-26782198-id-3242120.html # uname -a               # 查看内核/操作系统/CPU信息 ...

  2. linux常用查看硬件设备信息命令(转载)

    系统 # uname -a                                       # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue         ...

  3. 转 linux常用查看硬件设备信息命令

    转载自:http://blog.chinaunix.net/uid-26782198-id-3242120.html 系统 # uname -a               # 查看内核/操作系统/C ...

  4. Ubuntu系统如何查看硬件配置信息

    查看ubuntu硬件信息 1, 主板信息 .查看主板的序列号 -------------------------------------------------- #使用命令 dmidecode | ...

  5. (转)linux常用查看硬件设备信息命令

    场景:在一篇博客中看到这些总结性命令,感觉很实用就转载,以后用到进行相关的整理 系统 # uname -a # 查看内核/操作系统/CPU信息 # lsb_release -a # 查看操作系统版本 ...

  6. Atitit.获取主板与bios序列号获取硬件设备信息  Wmi wmic 的作用

    Atitit.获取主板与bios序列号获取硬件设备信息  Wmi wmic 的作用 1 获取硬件核心基础核心基础Wmi1 2 其他资料2 3 Wmic WMI 命令行接口2 4 Atitit.获取主板 ...

  7. Linux系统下查看硬件信息命令大全

    导读 有许多命令可以用来查看 Linux 系统上的硬件信息.有些命令只能够打印出像 CPU 和内存这一特定的硬件组件信息,另外一些命令可以查看多种硬件组件的信息. 这个教程可以带大家快速了解一下查看各 ...

  8. Linux 系统下查看硬件信息命令大全

    有许多命令可以用来查看 Linux 系统上的硬件信息.有些命令只能够打印出像 CPU 和内存这一特定的硬件组件信息,另外一些命令可以查看多种硬件组件的信息. 这个教程可以带大家快速了解一下查看各种硬件 ...

  9. Linux lspci查看硬件设备

    Linux 主机的硬件配备 lspci 找到的是眼下主机上面的硬件配备 [root@www ~]# lspci [-vvn] 选项与參数: -v     :显示很多其它的 PCI 接口装置的具体信息 ...

随机推荐

  1. sharepoint 计算列 年龄

    1.建立一个字段叫做Today ,(类型为文本都行) 2.建立你想要计算字段年龄,公式=IF(ISBLANK(出生年月),"NA",DATEDIF(出生年月,Today," ...

  2. sqlserver 2008 建立订阅发布时 报错 解决方案 “错误 2812” 无法创建存储过程

    11月10日早上  一大早,还在地铁14号线上 ,接到同事给的信息 说我们的XX系统宕机了,本想没什么问题,一般服务器 只要硬件没有问题 重启一下就可以了, 但是事与愿违,偏偏最后检测到服务器磁盘阵列 ...

  3. 【视频处理】YUV格式说明

    YUV,是一种颜色编码方法,Y表示明亮度(Luminance.Luma),U和V则是色度.浓度(Chrominance.Chroma). YUV,Y`UV,YCbCr,YPbPr等都可以称为YUV,彼 ...

  4. IE中的CSS3不完全兼容方案

    摘要: Internet Explorer,其本身也是足够强大的.IE特有的技术可以很好的实现一些CSS3的效果. 到Internet Explorer 8为止,IE系列是不支持CSS3的.在IE中要 ...

  5. C# Array

    一.声明数组时,方括号[]必须跟在类型后面,而不是标识符后面 int[] table;  //而不是 int table[]; 二.数组的大小不是其类型的一部分 int[] numbers; numb ...

  6. sshd调优

    sshd调优:禁用dns查找,加快速度在sshd_config中设置:UseDNS no禁用root登录:建立普通用户在sshd_config中设置PermitRootLogin no以上设置需要重启 ...

  7. 转载:monkeyrunner工具

    前言: 最近开始研究Android自动化测试方法,对其中的一些工具.方法和框架做了一些简单的整理,其中包括 android测试框架.CTS.Monkey.Monkeyrunner.benchmark. ...

  8. IO流基础加强

    字节流对象:InputStream,OutputStream 缓冲字节流对象:BufferedInputStream , BufferedOutputStream 用法和字符流对象一样,但也有区别, ...

  9. 优化之zencart第一时间修改原始内容

    Zen Cart 基本修改指南 Zen Cart,全球顶级B2C商城网站!要想自行搭建一个基本的Zen Cart的网站,这篇文章是绝对不能错过的.目前我已经做了两个B2C网站,但是还是离不开这篇文章的 ...

  10. Unity 碰撞器和触发器的理解

    要产生碰撞必须为游戏对象添加刚体(Rigidbody)和碰撞器,刚体可以让物体在物理影响下运动.碰撞体是物理组件的一类,它要与刚体一起添加到游戏对象上才能触发碰撞.如果两个刚体相互撞在一起,除非两个对 ...