1825719 Members
3143 Online
109686 Solutions
New Discussion

Physical memory and type

 
Shahul
Esteemed Contributor

Physical memory and type


Hi,

Sorry for silly questions, I am very new to Linux. How can I know how much physical memory a system has and what type of memory they are.

TIA
Shahul
5 REPLIES 5
Roberto Polli
Trusted Contributor

Re: Physical memory and type

Hi!
3 commands:
cat /proc/meminfo
vmstat
free

Don't know how to display the type.

Peace, R.
Shahul
Esteemed Contributor

Re: Physical memory and type


Hi,

Please find below meminfo content. Could you please tell me what is the size of physical memory installed in system.

[root@nepal proc]# more meminfo
total: used: free: shared: buffers: cached:
Mem: 921235456 918007808 3227648 573440 122527744 680202240
Swap: 1341087744 131072 1340956672
MemTotal: 899644 kB
MemFree: 3152 kB
MemShared: 560 kB
Buffers: 119656 kB
Cached: 664132 kB
SwapCached: 128 kB
Active: 481576 kB
Inact_dirty: 260012 kB
Inact_clean: 42888 kB
Inact_target: 229376 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 899644 kB
LowFree: 3152 kB
SwapTotal: 1309656 kB
SwapFree: 1309528 kB

TIA
Shahul
Roberto Polli
Trusted Contributor

Re: Physical memory and type

Hi Shahul,
Shoud be
MemTotal: 899644 kB


Peace, R.
Martin P.J. Zinser
Honored Contributor

Re: Physical memory and type

Hi,

free -m will give you the memory in Megaytes, which is usually a bit easier to read.

Greetings, Martin
Martin P.J. Zinser
Honored Contributor

Re: Physical memory and type

Sorry to follow up on myself, at least some information about the actual sticks in the box
can be gathered using lshw http://ezix.sourceforge.net/software/lshw.html

For my system it produces output like this

*-bank:0 UNCLAIMED
description: DIMM Synchronous 266 MHz (3.8 ns)
product: 16VDDT6464AG-265C4
vendor: JEDEC ID:2C FF FF FF FF FF FF FF
physical id: 0
serial: A2582A74
slot: DIMM1
size: 512MB
clock: 266MHz (3.7594ns)
configuration: width=64

HTH, Martin