The kernel will show its math during boot:
Code:
$ ssh framboise dmesg | grep ^Memory:
Memory: 509956k/524288k available (5104k kernel code, 13672k reserved, 1584k data, 396k init, 0k highmem)
Those numbers don't exactly add up, but 509956 kB + 13672 kB comes up 660 kB short, and.... well, that's close enough to 640 kB that it ought to be close enough for anybody. Other messages spat by the kernel will provide a more detailed, and significantly more confusing, accounting.
Why the difference? Sometime between 2.6.18 ("Latest 2.6 Stable") and a few years back, the formula changed. Dunno where, who, or why, but it's probably more accurate now.
_________________
Code:
/* TODO: need to add signature to posts */