Skip to content

Instantly share code, notes, and snippets.

@antonioams
Created April 9, 2012 20:39
Show Gist options
  • Save antonioams/2346442 to your computer and use it in GitHub Desktop.
Save antonioams/2346442 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