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.


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