Re: /proc/kcore size

Luck, Tony
2004-01-12T18:00:41Z

> Problem: it detects the memory amount in the box by stat'ing /proc/kcore.
> Thats not the problem, but that the box has 1Gb of memory, and kcore is just
> 896Mb big.

It may not be the specific problem that you have now, but it is a
problem in general. The size of /proc/kcore may be a good
approximation for the amount of memory on machines that have
contiguous physical memory starting at a base physical address
of 0x0, but on an increasing number of machines it may give
a grossly inflated value (perhaps an SGI Altix user will post
the output from "ls -l /proc/kcore").

-Tony Luck