Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Parse linux /proc/pci?

by Anonymous Monk
on Nov 03, 2003 at 21:52 UTC ( #304254=note: print w/replies, xml ) Need Help??


in reply to Parse linux /proc/pci?

You should parse the output of the lspci program, instead. /proc/pci is in the process of being deprecated. lspci also offers a -m option, which is designed to make it simpler for scripts to parse.

Replies are listed 'Best First'.
Re: Re: Parse linux /proc/pci?
by traveler (Parson) on Nov 03, 2003 at 22:17 UTC
    I should have noted that I am using mandrake 9.2: it does not have lspci.

      Hi!

      That's weird, you should have it in some package (maybe pciutils or a similar name).

      Michele.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://304254]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2022-11-26 23:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?