Re: How to find free resident memory in Linux using python

2010-10-04 Thread Lawrence D'Oliveiro
In message slrniaf7ut.2f2t.usenet-nos...@guild.seebs.net, Seebs wrote: On 2010-10-02, Sandy dksre...@gmail.com wrote: I want to find how much free memory (RAM) is available in my system using python. The question is essentially incoherent on modern systems. And then there’s the fact that,

Re: How to find free resident memory in Linux using python

2010-10-03 Thread Sandy
On Oct 2, 10:08 pm, Seebs usenet-nos...@seebs.net wrote: On 2010-10-02, Sandy dksre...@gmail.com wrote: I want to find how much free memory (RAM) is available in my system using python. The question is essentially incoherent on modern systems.  You'd have to define terms.  Consider that

How to find free resident memory in Linux using python

2010-10-02 Thread Sandy
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.

Re: How to find free resident memory in Linux using python

2010-10-02 Thread Antoine Pitrou
On Sat, 2 Oct 2010 07:06:37 -0700 (PDT) Sandy dksre...@gmail.com wrote: Hi all, I want to find how much free memory (RAM) is available in my system using python. Take a look at http://www.selenic.com/smem/ It's written in Python. Regards Antoine. --

Re: How to find free resident memory in Linux using python

2010-10-02 Thread Albert Hopkins
On Sat, 2010-10-02 at 07:06 -0700, Sandy wrote: 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

Re: How to find free resident memory in Linux using python

2010-10-02 Thread Seebs
On 2010-10-02, Sandy dksre...@gmail.com wrote: I want to find how much free memory (RAM) is available in my system using python. The question is essentially incoherent on modern systems. You'd have to define terms. Consider that on a given system, it's quite possible that gigabytes of space