![]() | ||||||||||
Messages in this thread |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 J.A. Magallon wrote: > I expected /proc/kcore to give the size of your installed memory, with > the reserved BIOS areas just not accesible, but it looks like it already > has them discounted, so gives 1022 Mb. > > It looks really silly to have a motd say "wellcome to this box, it has > 2 xeons and 1022 Mb of RAM". I don't know why, but 'du' seems to be doing a better job. chaosite@kaitou ~ $ du /proc/kcore --block-size=1M 1024 /proc/kcore chaosite@kaitou ~ $ echo $(($(stat -c %s /proc/kcore) / 1024 / 1024)) 1023 - -- [Name ] :: [Matan I. Peled ] [Location ] :: [Israel ] [Public Key] :: [0xD6F42CA5 ] [Keyserver ] :: [keyserver.kjsl.com] encrypted/signed plain text preferred -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDXh82A7Qvptb0LKURApoUAKCVpGY9BlyD2SwN1aPy566ptf5DGwCdExco emsyr109/L8ls6Czh7mv45Q= =jRrP -----END PGP SIGNATURE----- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | |||||||||
| Last update: 2005-10-25 12:07 [from the cache] ©2003-2008 | ||||||||||