root@localhost:/home/jon# dmidecode | grep --color "PCI"
PCI is supported
Internal Reference Designator: J9C1 - PCIE DOCKING CONN
Type: x4 PCI Express 2 x4
Type: x2 PCI Express 2 x2
root@localhost:/home/jon# lspci -tv
-[0000:00]-+-00.0 Intel Corporation Gemini Lake Host Bridge
+-02.0 Intel Corporation GeminiLake [UHD Graphics 600]
+-0e.0 Intel Corporation Celeron/Pentium Silver Processor High Definition Audio
+-0f.0 Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface
+-12.0 Intel Corporation Celeron/Pentium Silver Processor SATA Controller
+-13.0-[01]----00.0 Intel Corporation Ethernet Controller I226-V
+-13.1-[02]----00.0 Intel Corporation Ethernet Controller I226-V
+-13.2-[03]----00.0 Intel Corporation Ethernet Controller I226-V
+-13.3-[04]----00.0 Intel Corporation Ethernet Controller I226-V
+-14.0-[05]--
+-14.1-[06]----00.0 Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963
+-15.0 Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller
+-1f.0 Intel Corporation Celeron/Pentium Silver Processor LPC Controller
\-1f.1 Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model
# 查看nvme 硬盘设备id
root@localhost:/home/jon# lspci | grep -i nvme
06:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963
# device id
root@localhost:/home/jon# lspci -n |grep -i 06:00.0
06:00.0 0108: 144d:a804
# 指定PCI设备的带宽
root@localhost:/home/jon# lspci -n -d 144d:a804 -vvv | grep --color Width
LnkCap: Port #0, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <64us
LnkSta: Speed 5GT/s (downgraded), Width x1 (downgraded)
Linux查看PCIe版本及速率
于 2024-09-15 17:25:49 首次发布