detecting how many memory sticks(RAM) from command line

2008-12-28 Thread Dan Shimshoni
Hello, Is there some command line in linux for detecting how many memory sticks(RAM) the machine has ? For example, suppose cat /proc/meminfo shows MemTotal: 960700 kB. Can I know whether it is one RAM stick , two RAM sticks , or more ? (without opening the box - this is not for

Re: detecting how many memory sticks(RAM) from command line

2008-12-28 Thread Vitaly
dmidecode? On Sun, Dec 28, 2008 at 4:52 PM, Dan Shimshoni danshi...@gmail.com wrote: Hello, Is there some command line in linux for detecting how many memory sticks(RAM) the machine has ? For example, suppose cat /proc/meminfo shows MemTotal: 960700 kB. Can I know whether it is one

Re: detecting how many memory sticks(RAM) from command line

2008-12-28 Thread Erez D
as root: lshw cheers, erez. On Sun, Dec 28, 2008 at 4:52 PM, Dan Shimshoni danshi...@gmail.com wrote: Hello, Is there some command line in linux for detecting how many memory sticks(RAM) the machine has ? For example, suppose cat /proc/meminfo shows MemTotal: 960700 kB. Can I know

Re: detecting how many memory sticks(RAM) from command line

2008-12-28 Thread Matan Ziv-Av
On Sun, 28 Dec 2008, Dan Shimshoni wrote: Hello, Is there some command line in linux for detecting how many memory sticks(RAM) the machine has ? Something like: ls /sys/bus/i2c/devices/*/driver -l | grep eeprom | wc -l This depends on having the correct i2c modules installed -- Matan

Re: detecting how many memory sticks(RAM) from command line

2008-12-28 Thread Lior Kaplan
I think you can use lshw to see that information. I think it takes it data from /sys. On Sun, December 28, 2008 4:52 pm, Dan Shimshoni wrote: Hello, Is there some command line in linux for detecting how many memory sticks(RAM) the machine has ? For example, suppose cat /proc/meminfo shows