lspci 是 Linux/Unix 系统中的一个命令,用来列出 PCI/PCIe 总线上的硬件设备信息(如显卡、网卡、声卡、桥接器等),常用于硬件识别与故障排查。(它也有更详细的用法与输出选项。)
/ˌɛl ɛs piː siː aɪ/
I ran lspci to see what graphics card is installed.
我运行了 lspci 来查看安装了哪块显卡。
After the network issue, she used lspci -nn and compared the device IDs to confirm the correct driver.
网络出问题后,她用 lspci -nn 并对照设备 ID,确认应该使用哪个驱动。
lspci 可理解为 ls + pci:其中 ls 是 “list(列出)” 的常见缩写(也对应 Linux 命令 ls 的“列出”含义),pci 指 PCI(Peripheral Component Interconnect,外设互连) 总线标准;合起来就是“列出 PCI 设备”。
lspci 作为常用硬件查询命令之一列入速查内容 pciutils 项目的 man page(lspci(8)) 是该命令最权威、最常被引用的技术文本来源