Re: /proc/kcore size incorrect ? (OT)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2005.10.25, at 18:02, Eric Piel wrote:

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...


Yes, I know...

If you remember, the question about 'how to guess this box mem' was
under something like "BTW ...", kinda collateral.

My concerns were about if the size of /proc/kcore should be what it is
now, and why...

--
J.A. Magallon <jamagallon()able!es>   \          Software is like sex:
wolverine                              \    It's better when it's free
MacOS X 10.4.2, Darwin Kernel Version 8.2.0


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux