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

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

 



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