Re: /proc/kcore size incorrect ? (OT)
From: Eric Piel
Date: Tue Oct 25 2005 - 11:03:32 EST
J.A. Magallon wrote:
:
It looks really silly to have a motd say "wellcome to this box, it has
2 xeons and 1022 Mb of RAM".
Ok, everyone seems to go with his idea on this thread so I'd like to
share mine too :-P
If you want to know how much _physical_ memory there is on your
computer, then a good way would be too use dmidecode. The parsing might
require more work than a "du" but you will never have trouble with
rounding...
Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/