Announcement

Collapse
No announcement yet.

command for hardware inventory in linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • command for hardware inventory in linux

    Is there a linux command for checking what hardware the system has?
    In IRIX, there's: hinv
    In Solaris, there's: prtdiag
    In HP-UX, there's: ioscan
    Not sure what is might be in AIX.
    Is there something similar for linux??

    Just wondering.....
    RC Agent
    AMD Athlon 64 X2 5000+ Brisbane 2.6GHz, MSI 785GT-E63, 6 GB(2x1GB, 2x2GG) DDR2 800 Corsair XMS2, Asus EAH4850 TOP
    AMD Athlon 64 X2 7750 Kuma 2.7GHz, ASRock A790GXH/128M BIOS 1.7, 4 GB(2x2GB) DDR2 800 Corsair XMS2, Gigabyte HD 6850 1GB DDR5
    AMD Phenom II X6 1045T 2.7GHz, Asus M5A99FX Pro R2.0 BIOS 2501 , 8GB(2x4GB) DDR3 1866 CL9 Crucial BallisticX(BLT4G3D1869DT1TX0) , Sapphire HD7870 2GB GDDR5 OC, Seasonic 850w powers supply

  • #2
    lspci

    Comment


    • #3
      lspci will tell you what's on your PCI and AGP (and Cardbus) buses, but there's nothing I know of which will tell you everything. Unlike the other OSes you mention, Linux runs on a very wide range of hardware, most of which conforms to some very loose "standards".

      There are files in /proc which have useful information - try /proc/{cpuinfo, dma, interrupts, iomem, ioports, pci}. There's more info in /proc/bus/* and (on Linux 2.6) /sys, if you know how to interpret it.

      Note that all of that will generally only tell you about hardware which already has a driver loaded for it.
      Blah blah blah nick blah blah confusion, blah blah blah blah frog.

      Comment


      • #4
        Re: command for hardware inventory in linux

        Originally posted by RC Agent
        Is there a linux command for checking what hardware the system has?

        Just wondering.....
        As mentioned by dZeus and Rabbit: lspci (located often at /sbin/lspci, a normal user usually doesn´t have /sbin in his path).

        But most distributions today additionally have graphical tools or tools that wait in the background and tell you if you have installed new hardware ("suseplugger" of SuSE Linux e.g.) and they may be more convinient than lspci.

        Comment

        Working...
        X