How do you determine the amount of system memory?

Dave Johnson dave-gnhlug-list at davej.org
Thu Jul 17 07:44:54 EDT 2008


Paul Lussier writes:
> 
> Hi all,
> 
> Recent Linux kernels have had a minor bug in that the amount of memory
> reported in /proc/meminfo is incorrect.  I'm trying to find a way to
> determine whether the amount reported is correct or not.
> 
> I need some means of reliably knowing whether this value is accurate
> or not.  Does anyone have any ideas?  "Physically looking" is
> insufficient, given that I a) need to test 400+ systems, and b) I may
> need to run this test on boxes to which I have no physical access.


one more way:

$ grep 'System RAM' /proc/iomem 

basically the same info as from the e820, but in a nicer format:


system 1
--------

$ grep 'System RAM' /proc/iomem 
00000000-0009f3ff : System RAM
00100000-7fe4ffff : System RAM
100000000-107fffefff : System RAM

system 2
--------

$ grep 'System RAM' /proc/iomem 
00000000-0009efff : System RAM
00100000-efedffff : System RAM
100000000-10fffffff : System RAM

system 3
--------

$ grep 'System RAM' /proc/iomem 
00000000-0009fbff : System RAM
00100000-7dedffff : System RAM

-- 
Dave


More information about the gnhlug-discuss mailing list