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

2010-10-04 Thread Lawrence D'Oliveiro
In message , Seebs wrote: > On 2010-10-02, Sandy 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, on most Linux systems, by default you never get a fail

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

2010-10-03 Thread Sandy
On Oct 2, 10:08 pm, Seebs wrote: > On 2010-10-02, Sandy 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 poss

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

2010-10-02 Thread Seebs
On 2010-10-02, Sandy 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 are being used to

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 w

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 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. -- http://mail.python.org/mailman/listinfo/python-list

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. I