How do I check my hardware from CLI?

Marius Gedminas marius at pov.lt
Sun Dec 10 13:08:41 UTC 2006


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
-- 
Funny off-topic messages are always on-topic.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061210/066fbec0/attachment.sig>


More information about the ubuntu-users mailing list