Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.