Re: How to see number of pci-slots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx> 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@elmstreet / # dmidecode | grep PCI | wc -l
   7
   root@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@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@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@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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux