LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-11-2005, 09:43 AM   #1
stefanwolf
LQ Newbie
 
Registered: Apr 2005
Location: Germany
Distribution: Debian
Posts: 2

Rep: Reputation: 0
tool to detect number of memory slots, memory module type, speed, and size


Hi there,

I have to upgrade memory in a couple of remote (other part of the city) machines and I would like to be able to query all necessary info in a comfortable ssh session without having to drive there and unsrew each different machine (many different types). I googled a lot but I can only find Windows tools, nothing for Linux.

I need:

- total number of memory slots on the mainboard
- for each used slot: current module type, memory type, size and speed

so I can make a shopping list for all the different needed memory modules.



Example from AIDA32 (Windows tool):
-------------------------------------------------------------------
Motherboard info:
[...]
RAM slots: 3 DIMM
[...]

SPD memory info SLOT1:
[...]
module size: 256MB (1 row, 4 banks)
module type: DDR SDRAM
memory speed: PC2700 (166 MHz)
[...]

SPD memory info SLOT2:
[...]
module size: 256MB (1 row, 4 banks)
module type: DDR SDRAM
memory speed: PC2700 (166 MHz)
[...]

SPD memory info SLOT3:
<no info> (= empty)
-------------------------------------------------------------------


Does something similar for Linux exist??


Best regards, Stefan.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-11-2005, 02:52 PM   #2
apimente.br
Member
 
Registered: Aug 2003
Location: Sao Paulo - Brazil
Distribution: Mageia
Posts: 155

Rep: Reputation: 23
Try
Code:
lshw
as root. For more info
Code:
man lshw
 
Old 04-11-2005, 04:24 PM   #3
camelrider
Member
 
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 251

Rep: Reputation: 32
Wow! That's a cool tool.
 
Old 04-11-2005, 08:00 PM   #4
apimente.br
Member
 
Registered: Aug 2003
Location: Sao Paulo - Brazil
Distribution: Mageia
Posts: 155

Rep: Reputation: 23
Thanks camelrider!

If you like a nice appearance do:
Code:
lshw -html >MyLinuxBox.html
You'll obtain a html page with your machine hardware report.
 
Old 04-13-2005, 09:35 AM   #5
stefanwolf
LQ Newbie
 
Registered: Apr 2005
Location: Germany
Distribution: Debian
Posts: 2

Original Poster
Rep: Reputation: 0
Too bad this tool doesN#t work on any of the machines I aim for... Does it give the
information I'm looking for in your machines? It does on the tool's homepage for
one machine but this is what I get:

Machine A:

> lshw -C memory
>
> [...]
> *-memory
> description: System memory
> physical id: 1
> size: 479MB

Of course I did this as root... This is not very helpful.

The second machine says:

> [...]
> *-memory
> description: System Memory
> physical id: 2b
> slot: System board or motherboard
> size: 512MB
> *-bank:0
> description: DIMM DRAM Synchronous
> physical id: 0
> slot: DIMM 1
> size: 256MB
> width: 64 bits
> *-bank:1
> description: DIMM DRAM Synchronous
> physical id: 1
> slot: DIMM 2
> size: 256MB
> width: 64 bits
> *-bank:2
> description: DIMM DRAM Synchronous [empty]
> physical id: 2
> slot: DIMM 3
> *-bank:3
> description: DIMM DRAM Synchronous [empty]
> physical id: 3
> slot: DDR 1
> *-bank:4
> description: DIMM DRAM Synchronous [empty]
> physical id: 4
> slot: DDR 2

What type of RAM (DDR? DDR-2?)?
How many slots are there? Five is nonsense...

"lshw -businfo" gives me the board manufacturer and product (ASUS P4G8X) and
that board has 4 slots. It can use different RAM speeds (PC2100, PC1600) but the
speed actually used in my machine is not told by lshw...

Unfortunately the tool is not very reliable and doesn't dig very deep so I need
something else (or have to use the screwdriver)...


Best, Stefan.

Last edited by stefanwolf; 04-13-2005 at 09:36 AM.
 
Old 06-02-2011, 10:07 AM   #6
aiushtha
LQ Newbie
 
Registered: Jul 2010
Posts: 11

Rep: Reputation: 3
Cool

Hello, you can use dmidecode -t 17
 
3 members found this post helpful.
Old 06-03-2011, 02:58 AM   #7
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
I think that since this thread is over 6 years old its not a problem anymore...
 
Old 01-15-2013, 12:26 AM   #8
LaughingBoy
Member
 
Registered: May 2006
Location: Adelaide, South Australia
Distribution: Fedora 6-17 x64 / Ubuntu 10.x x64
Posts: 95

Rep: Reputation: 16
Thumbs up

Quote:
Originally Posted by aiushtha View Post
Hello, you can use dmidecode -t 17
Awesome. Cheers. Just what I was looking for. Even if it's non-intuitive, it gave the right results. :-)
 
Old 04-22-2013, 09:48 AM   #9
dabler
LQ Newbie
 
Registered: Apr 2013
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by LaughingBoy View Post
Awesome. Cheers. Just what I was looking for. Even if it's non-intuitive, it gave the right results. :-)
Use this instead:
Code:
dmidecode -t memory
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool to identify memory leak in loadable kernel module appas Programming 3 06-05-2012 09:56 AM
is shared memory expandable in memory size? Thinking Programming 4 08-16-2005 09:57 AM
memory tool antonioac Linux - Software 1 04-06-2004 02:00 PM
Memory Stick Problems, can't detect module sg? GT_Onizuka Linux - Hardware 3 02-04-2004 07:41 AM
Help!?! RH 8 Memory Mapping -High Memory-Virtural Memory issues.. Merlin53 Linux - Hardware 2 06-18-2003 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration