how to show active PCI slot location

If you want to find out what is the slot that your current PCI ethernet card was installed.
You may just use below to find out.

[root@abc ~]# dmidecode -t slot
# dmidecode 2.12
SMBIOS 2.8 present.

Handle 0x0900, DMI type 9, 17 bytes
System Slot Information
        Designation: PCIe Slot 1
        Type: x8 PCI Express 3 x16
        Current Usage: Available
        Length: Long
        Characteristics:
                3.3 V is provided
                PME signal is supported

Handle 0x0901, DMI type 9, 17 bytes
System Slot Information
        Designation: PCIe Slot 2
        Type: x4 PCI Express 3 x16
        Current Usage: In Use
        Length: Long
        Characteristics:
                3.3 V is provided
                PME signal is supported
        Bus Address: 0000:84:00.0

Handle 0x0902, DMI type 9, 17 bytes
System Slot Information
        Designation: PCIe Slot 3
        Type: x8 PCI Express 3 x16
        Current Usage: Available
        Length: Long
        Characteristics:
                3.3 V is provided
                PME signal is supported

Handle 0x0903, DMI type 9, 17 bytes
System Slot Information
        Designation: PCIe Slot 4
        Type: x16 PCI Express 3
        Current Usage: Available
        Length: Long
        Characteristics:
                3.3 V is provided
                PME signal is supported

Handle 0x0904, DMI type 9, 17 bytes
System Slot Information
        Designation: PCIe Slot 5
        Type: x8 PCI Express 3 x16
        Current Usage: Available
        Length: Long
        Characteristics:
                3.3 V is provided
                PME signal is supported

Handle 0x0905, DMI type 9, 17 bytes
System Slot Information
        Designation: PCIe Slot 6
        Type: x8 PCI Express 3 x16
        Current Usage: Available
        Length: Long
        Characteristics:
                3.3 V is provided
                PME signal is supported

Handle 0x0906, DMI type 9, 17 bytes
System Slot Information
        Designation: PCIe Slot 7
        Type: x8 PCI Express 3 x16
        Current Usage: Available
        Length: Long
        Characteristics:
                3.3 V is provided
                PME signal is supported


to get more detail info
 [root@abc ~]# lspci -vmm

No comments: