How do you determine the amount of system memory?

Bill McGonigle bill at bfccomputing.com
Wed Jul 30 10:34:32 EDT 2008


On Jul 30, 2008, at 10:03, Thomas Charron wrote:

>   MemTotal can change.  MemTotal doesn't show memory utilized by the
> kernel binaries themselves in memory, however there are situations
> where modules can leak memory which also removes from MemTotal.  I
> don't recall the specifics of this happening, but I do know what Paul
> is talking about now.


Well, that's only a bug if you define MemTotal as the physical memory  
present in a machine.  If you view it as total memory available to  
the kernel, it's performing correctly, right?

As Steve mentioned, dmidecode provides information on physical  
memory.  Here's a quickie to dump memory sizes:

   sudo dmidecode -t 6 | grep Installed | grep -v Not | cut -f 2 -d :  
| cut -f 2,3 -d ' '

Sending that output into Frink should be quite easy, given an extra  
10 minutes of work.

-Bill

-----
Bill McGonigle, Owner           Work: 603.448.4440
BFC Computing, LLC              Home: 603.448.1668
bill at bfccomputing.com		Cell: 603.252.2606
http://www.bfccomputing.com/    Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf

For fastest support contact, please follow:
http://bfccomputing.com/support_contact.html





More information about the gnhlug-discuss mailing list