Linux查看PCIe版本及速率
# lspci |grep pci -i
00:02.0 PCI bridge: Device 1d17:0710
00:03.0 PCI bridge: Device 1d17:0711
00:04.0 PCI bridge: Device 1d17:0712
00:05.0 PCI bridge: Device 1d17:0713
00:06.0 PCI bridge: Device 1d17:0714
00:07.0 PCI bridge: Device 1d17:0715
[root@localhost ~]# lspci -vvv |grep pci -i
# dmidecode | grep -1 PCI
Designation: J6B2
Type: x16 PCI Express x16
Current Usage: Available
--
Designation: J6B1
Type: x1 PCI Express x1
Current Usage: Available
--
Designation: J6C2
Type: x1 PCI Express x1
Current Usage: Available
--
Designation: J7B1
Type: x1 PCI Express x1
Current Usage: Available
--
Designation: J8B3
Type: x1 PCI Express x1
Current Usage: Available
--
Designation: J8D1
Type: x1 PCI Express x1
Current Usage: Available
--
Referenced Offset: 0x05
String: PCIExpressx16
Value: 0xaa
[root@localhost ~]#
lspci -vvv |grep WIDTH -i -A 10