Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lsgrep/3382677af20ed618dc250d17409b1151 to your computer and use it in GitHub Desktop.
Save lsgrep/3382677af20ed618dc250d17409b1151 to your computer and use it in GitHub Desktop.
How to discover PCI Slot Type in a Linux Server
[root@local ~]# dmidecode | grep -A 5 "System Slot"
System Slot Information
Designation: PCI1
Type: x4 PCI Express Gen 2 x8
Current Usage: Available
Length: Long
Characteristics:
--
System Slot Information
Designation: PCI2
Type: x4 PCI Express Gen 2 x8
Current Usage: In Use
Length: Long
Characteristics:
--
System Slot Information
Designation: PCI3
Type: x4 PCI Express Gen 2 x8
Current Usage: Available
Length: Long
Characteristics:
--
System Slot Information
Designation: PCI4
Type: x4 PCI Express Gen 2 x8
Current Usage: In Use
Length: Long
Characteristics:
--
System Slot Information
Designation: PCI5
Type: x8 PCI Express Gen 2 x16
Current Usage: Available
Length: Long
Characteristics:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment