On Wed, 2007-02-21 at 22:58 -0600, Sean Burns wrote: > I'm wondering about a discrepancy about the total amount of RAM I have. > > free -m output says my total is 1134 MBs. > > cat /proc/meminfo says I have 1161788 kBs or 1161788 / 1024 = 1134 MBs. > > top shows 1134 MBs of memory also. > > However, ls -lh /proc/kcore says 769M. > > If kcore is supposed to be the kernel's representation of system memory, > what do I really have available? 1134 MBs or 769 MBs? > > Btw, this is for an iBook running Ubuntu PPC 2.6.17. > > Thanks for any insights.
Maybe these links will give a starting point? <http://www.linuxjournal.com/article/0177> -- from this article: - kcore contains the entire RAM contents as seen by the kernel. - meminfo contains information about the memory usage, how much of the available RAM and swap space are in use and how the kernel is using them. - The programs top, ps, free and their friends all use /proc. The information that they provide is taken directly from /proc and formatted for display. <http://www.beowulf.org/archive/2001-March/002674.html> <http://www.linuxjournal.com/article/5311> -- from this article: "kcore is your system's memory - its RAM, if you prefer. In fact, it is everything currently in RAM, and as such, it is a dynamic beast. The same can be said for much of what you see in /proc. Looking at "meminfo" from one minute to the next will yield a different set of numbers as the demands of real memory vs swap are handled." Hope some of this is useful. Theresa -- *** Propositions arrived at purely by logical means are completely empty as regards reality. - Albert Einstein *** _______________________________________________ CWE-LUG mailing list [email protected] http://www.cwelug.org/ http://www.cwelug.org/archives/ http://www.cwelug.org/mailinglist/
