Hi all, I want to find how much free memory (RAM) is available in my system using python. I tried psutil, parsing /proc/meminfo, top output etc but not satisfied. For example my gnome-system-monitor gui shows I am using 1GB (25%) of my RAM while /proc/meminfo, top, psutil says around 2GB is used. Is there anyway I can get the correct availble memory, may be adding cache, buffers etc to free memory in these and get some value that matches with the gnome-system-monitor gui?
For example 'top' says: Mem: 3995048k total, 2231924k used, 1763124k free, 43480k buffers while gnome-system-monitor gui shows I am using 1GB (25%) Thanks in advance, dksr -- http://mail.python.org/mailman/listinfo/python-list