How do I check my hardware from CLI?

Bob Davis bob at bobsbits.net
Mon Dec 18 16:25:45 UTC 2006


Marius Gedminas wrote:
> On Sun, Dec 10, 2006 at 02:16:23PM +0200, Amichai Rotman wrote:
>> Thank you all,
>>
>> I have lshw installed, but it isn't verbose enough. For instance: I wold
>> like to know how many mem sticks I have on the Motherboard (slot 1: X MB @ X
>> MHz and so on).
>>
>> Any /proc branch for it?
> 
> sudo lshw tells me part of this (lshw as a regular user doesn't):
> 
>      *-memory
>           description: System Memory
>           physical id: 2c
>           slot: System board or motherboard
>           size: 1GB
>           capacity: 1GB
>         *-bank:0
>              description: SODIMM DDR Synchronous
>              physical id: 0
>              slot: DIMM 1
>              size: 512MB
>              width: 64 bits
>         *-bank:1
>              description: SODIMM DDR Synchronous
>              physical id: 1
>              slot: DIMM 2
>              size: 512MB
>              width: 64 bits
> 
> sudo dmidecode also shows the same kind of information.  I don't think you can
> get the memory speed in MHz this way.  A better bet would be to google for the
> motherboard's manual.
> 
> Marius Gedminas
> 

Hmmm

I get this with sudo lshw on edgy

      *-memory
           description: System Memory
           physical id: 25
           slot: System board or motherboard
           size: 1GB
         *-bank:0
              description: DIMM DDR Synchronous 333 MHz (3.0 ns)
              product: PartNum0
              vendor: Manufacturer0
              physical id: 0
              serial: SerNum0
              slot: DIMM0
              size: 1GB
              width: 64 bits
              clock: 333MHz (3.003ns)




More information about the ubuntu-users mailing list