Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Memory Available

Hi all,
Do you know a way to get amount of free memory available on a linux system ?
thanx
[108 byte] By [IceHand] at [2007-11-11 9:51:39]
# 1 Re: Memory Available
The question is what "available memory" means. Linux has a virtual memory manager, which means that each process sees the entire address space of >2GB as available. Also, there's a difference between the stack size (nomrally 2MB per process), and the heap size, which depends on the process' privileges.
Danny at 2007-11-11 20:59:57 >
# 2 Re: Memory Available
I think there is a /proc/meminfo if I remember right, that contains info like that.
ungamed at 2007-11-11 21:00:52 >