How do you determine the amount of system memory?
Ben Scott
dragonhawk at gmail.com
Wed Jul 16 23:37:41 EDT 2008
On Wed, Jul 16, 2008 at 11:11 PM, Paul Lussier <p.lussier at comcast.net> wrote:
> I believe free reads /proc/meminfo.
Yah, and so, apparently, does the sysconf(3) POSIX library function. :-/
Why are you looking to find out how much memory there is? Hardware
asset inventory, system requirements check, system health monitoring,
something else... ? There may be an alternative approach for some
things.
-- Ben
More information about the gnhlug-discuss
mailing list