Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to get PCIe linkspeed information by parsing dmidecode. When I run

sudo dmidecode -t 9 

I get a handle that looks like this

Handle 0x001A, DMI type 9, 17 bytes System Slot Information
       Designation: PCIE1
       Type: x8 PCI Express 2 x16

What exactly is "Type: x8 PCI Express 2 x16" telling me? Is it saying that I have a x8 card plugged into a x16 slot? Been digging around for a few hours and can't find any answer. Please help.

share|improve this question
up vote 0 down vote accepted

Are you using dmidecode for this purpose just for learning purposes or fun? lspci -vvv provides you link speed information, bus width, latency information and plethora of other stuff.

share|improve this answer
It's for a utility I'm working on. About 10 minutes after I posted this I came upon lspci and was able to parse that output to get what I needed. Thank you very much for the suggestion – Joe Wanja Jun 26 '12 at 19:40
You're welcome, and welcome to ServerFault! :) – Janne Pikkarainen Jun 26 '12 at 19:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.