prtconf in Linux

Hello,

i would like to know the alternate command in Linux for the below command used in Solaris.

# prtconf -D | egrep 'pci,|network|ethernet|SUNW,qfe'
 pci, instance #0 (driver name: pcicmu)
    pci, instance #0 (driver name: px)
        pci, instance #0 (driver name: pxb_plx)
            pci, instance #1 (driver name: pxb_plx)
                pci, instance #0 (driver name: px_pci)
                    network, instance #0 (driver name: bge)
                    network, instance #1 (driver name: bge)
                pci, instance #1 (driver name: px_pci)
            pci, instance #2 (driver name: pxb_plx)
    pci, instance #1 (driver name: px)
    pci, instance #2 (driver name: px)
    pci, instance #3 (driver name: px)
        network, instance #0 (driver name: nxge)
        network, instance #1 (driver name: nxge)
        network, instance #2 (driver name: nxge)
        network, instance #3 (driver name: nxge)

It displays the driver details on screen like above.

Since prtconf is not available in Linux. i like to know the alternate command to get out as above.

Thanks a lot in advance.
Your help will be appreciated.

Regards,
Saravana

There is no direct analog to prtconf. What are you trying to figure out?

lspci maybe?

For a list of hardware, another utility is

lshw

It may or may not be already present on your particular GNU/Linux distribution.

in some cases, the tool would be:

hwinfo

SUSE comes to mind for that one.

Hi Mark54g,

prtconf -D | egrep 'pci,|network|ethernet|SUNW,qfe'
pci, instance #0 (driver name: pcicmu)
pci, instance #0 (driver name: px)
pci, instance #0 (driver name: pxb_plx)
pci, instance #1 (driver name: pxb_plx)
pci, instance #0 (driver name: px_pci)
network, instance #0 (driver name: bge)
network, instance #1 (driver name: bge)
pci, instance #1 (driver name: px_pci)
pci, instance #2 (driver name: pxb_plx)
pci, instance #1 (driver name: px)
pci, instance #2 (driver name: px)
pci, instance #3 (driver name: px)
network, instance #0 (driver name: nxge)
network, instance #1 (driver name: nxge)
network, instance #2 (driver name: nxge)
network, instance #3 (driver name: nxge)

is displaying the network driver names.
so i would like to get the driver details like the above output. i am using monta vista linux.

---------- Post updated at 12:59 PM ---------- Previous update was at 12:58 PM ----------

Hi Thanks. but i am not able to find this in monta vista linux os.

I have never heard of Monta Vista Linux, but if you want to know what drivers you are using, lsmod should let you know that. However, it will not directly correlate to your network device.