你可以试试dmidecode.我没有很多带有标准PCI插槽的服务器,但输出如下所示.提供了无人填充端口的信息:
Handle 0x0901,DMI type 9,13 bytes
System Slot Information
Designation: PCI Slot 1
Type: 64-bit PCI-X
Current Usage: Available
Length: Long
ID: 1
Characteristics:
3.3 V is provided
Handle 0x0902,13 bytes
System Slot Information
Designation: PCI Slot 2
Type: 64-bit PCI-X
Current Usage: In Use
Length: Long
ID: 2
Characteristics:
3.3 V is provided
Handle 0x0903,13 bytes
System Slot Information
Designation: PCI-E Slot 3
Type: x4 PCI Express
Current Usage: Available
Length: Other
ID: 3
Characteristics:
3.3 V is provided
Handle 0x0904,13 bytes
System Slot Information
Designation: PCI-E Slot 4
Type: x4 PCI Express
Current Usage: In Use
Length: Other
ID: 4
Characteristics:
3.3 V is provided