How to see number of pci-slots

Alexander Apprich a.apprich at science-computing.de
Mon Jan 17 13:49:24 UTC 2005


Phil Schaffner wrote:
> On Mon, 2005-01-17 at 12:01 +0100, Alexander Apprich wrote:
> 
>>Kam Leo wrote:
>>
>>>On Mon, 17 Jan 2005 10:01:16 +0100, Alexander Apprich
>>><a.apprich at science-computing.de> wrote:
>>>
>>>>Roger Grosswiler wrote:
>>>>
>>>>
>>>>>Alexander Apprich schrieb:
>>>>>
>>>>>
>>>>>>Roger Grosswiler wrote:
>>>>>>
>>>>>>
>>>>>>>Hi,
>>>>>>>
>>>>>>>I would like to see all pci-slots on a system via shell, not only the
>>>>>>>used slots.
> 
> ...
> 
>>well, you're (partially) right. It depends on the version of dmidecode.
>>In my case dmidecode was right. With a "newer" version
>>
>>    root at elmstreet / # dmidecode | grep PCI | wc -l
>>    7
>>    root at elmstreet / # dmidecode | grep PCI
>>                         PCI is supported
>>                 Type: 32-bit PCI
>>                 Type: 32-bit PCI
>>                 Type: 32-bit PCI
>>                 Type: 32-bit PCI
>>                 Type: 32-bit PCI
>>                 Type: 32-bit PCI
>>
>>With the version you have it's obviously somthing different.
> 
> 
> Might want to get on the same page with the FC version of dmidecode:
> 
> [root at tabb1 ~]# dmidecode | grep PCI
>                         PCI is supported
>                 Designation: PCI
>                 Type: 32-bit PCI
>                 Designation: PCI
>                 Type: 32-bit PCI
>                 Designation: PCI
>                 Type: 32-bit PCI
>                 Designation: PCI
>                 Type: 32-bit PCI
>                 Designation: PCI
>                 Type: 32-bit PCI
>                 Designation: PCI
>                 Type: 32-bit PCI
> [root at tabb1 ~]# dmidecode | grep PCI | grep Type
>                 Type: 32-bit PCI
>                 Type: 32-bit PCI
>                 Type: 32-bit PCI
>                 Type: 32-bit PCI
>                 Type: 32-bit PCI
>                 Type: 32-bit PCI
> [root at tabb1 ~]# rpm -qf `which dmidecode`
> kernel-utils-2.4-13.1.39
> 
> As far as sizes of cards, etc., need a lot more smarts than dmidecode
> and grep.

Well, Roger asked for number of PCI-Slots...

> 
> Phil
> 
> 

Just wanted to help

Alex




More information about the fedora-list mailing list