Re: 2.0.1: /proc/meminfo wrong

Bernd Eckenfels (ecki@tapac.inka.de)
5 Jul 1996 10:46:42 GMT


Ronald Wahl (Ronald.Wahl@informatik.tu-chemnitz.de) wrote:
: Look at the shared field of the following output. How can it be creater
: than my total memory?

Cause it is calculated as the sum ofall shared memory pages. 1.2.x Kernels
has listed there the amount of memory used more then once.

This means: 2k are used 3 times and 4k are used 2 times. with older kernels
you will get 2k+4k shared, with newer you will get 2k*3+4k*2 shared. Of
yourse the ratio of both numbers would be interesting, too :)

Greeting
Bernd

-- 
  (OO)      -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de --
 ( .. )  ecki@lina.{inka.de,ka.sub.org}  http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +4972573817  *plush*
(O____O)       If privacy is outlawed only Outlaws have privacy