prtconf in Linux


 
Thread Tools Search this Thread
Operating Systems Linux prtconf in Linux
# 1  
Old 11-22-2010
prtconf in Linux

Hello,

i would like to know the alternate command in Linux for the below command used in Solaris.
Code:
# 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

Moderator's Comments:
Mod Comment edit by bakunin: I added CODE-tags for you. Please use them when posting code, terminal output or the like.

Further i don't think this thread belongs to the "Shell Programming and Scripting" forum. I'll transfer it to the Linux forum instead.
# 2  
Old 11-22-2010
There is no direct analog to prtconf. What are you trying to figure out?
# 3  
Old 11-22-2010
lspci maybe?
# 4  
Old 11-22-2010
For a list of hardware, another utility is
Code:
lshw

It may or may not be already present on your particular GNU/Linux distribution.
# 5  
Old 11-22-2010
in some cases, the tool would be:

Code:
hwinfo

SUSE comes to mind for that one.
# 6  
Old 11-24-2010
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 ----------

Quote:
Originally Posted by mark54g
in some cases, the tool would be:

Code:
hwinfo

SUSE comes to mind for that one.
Hi Thanks. but i am not able to find this in monta vista linux os.
# 7  
Old 11-24-2010
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. AIX

Difference between lsconf & prtconf cmds on AIX

Friends, Could someone answer me on a silly question of mine: What's the difference between lsconf & prtconf commands of AIX? I find the o/p's of either of these commands to be same. Excuse me if I'm missing something, also I google-ed about it before turning down here for answer. ... (3 Replies)
Discussion started by: thisissouvik
3 Replies

2. AIX

prtconf command not working in Aix 5.3

put prtconf command,after show this error message: bash-3.00# prtconf /usr/sbin/prtconf: msize=msize + 12544^J12544: syntax error pleae help me...........waiting for replay by mohan.s Aix sysadmin (deleted email, rule violation) (2 Replies)
Discussion started by: smohan62
2 Replies

3. UNIX for Dummies Questions & Answers

prtconf

Hi, Please let me know the equalent Linux command for "prtconf". Thanks in Advance, Naga:cool: (2 Replies)
Discussion started by: Nagapandi
2 Replies

4. Solaris

equivalent prtdiag and prtconf command

I have a very old sunOS 4.xx server on a SPARCstation 5. What is the command , if any, that is similar to prtdiag and prtconf? Thanks (4 Replies)
Discussion started by: antalexi
4 Replies
Login or Register to Ask a Question