Re: client/server memory used incorrect

Rio <[email protected]>
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On Monday 18 June 2007 18:53, Bill WIlson wrote:
> On Mon, 18 Jun 2007 17:17:07 -0400
> Rio <[email protected]> wrote:
> 
> > > gkrellm: used = total - free - buffers - cached - slab
> > > 
> > > free: used = total - free
> > > 
> > 
> > makes sense. wish there was a way to configure the formula used :)
> 
> If you enable "Show three memory krells ..." the panel meter then has a
> smaller indicator towards the right which visually indicates the free / used
> stuff you're looking for (it's referred to as "raw free" in the config
> Memory->Options.
> 
> So what's missing would be a "raw free" and "raw used" variable for
> the panel format string so the values can be shown on the panel.
> 
> I just added that and if you want to compile a gkrellm to check it out:
> 
> http://members.dslextreme.com/users/billw/test/gkrellm.tar.gz

got this and tried it. it is accurate for the top part of free. thank you. my 
interest however is the amount of real memory used by programs and data space 
without caches and other things using memory that can be released. my concern 
is the memory that cannot be released which i assume is the second line.. eg:

free -m
             total       used       free     shared    buffers     cached
Mem:         11962      10847       1114          0       1334       1410
-/+ buffers/cache:       8102       3859
Swap:         3812          2       3809


here i see we use 8102M of ram that is not releasable unless a program is 
killed etc... i assume that is what that position reports...  my concern with 
the remote memory report was that it was off quite a bit... in this example 

my memory meter shows 5579M used.

when i use the ur and fr as mentioned below, it is accurate with the top line 
but does not tell me how much actual memory is being used by virtual 
servers/programs/ etc. as it includes cache which is variable. what i am 
looking for is something to report to me the hard amount of memory used by 
the system that cannot change unless applications change it or get killed. i 
dont care about caches or buffers or anything else that is variable and 
addable to 'used' memory when needed by applications. my care is with what 
memory is being used that represents the true health of the system. when you 
run a large number of virtual servers, and add more all the time you have to 
keep watch on memory constraints. i realize most people use the line which 
includes cache but to me that is not 'real' used memory as cache can be 
given/removed as needed.

or am i looking for the impossible? :)

> 
> Use $fr instead of $f for raw free and $ur instead of $u for
> raw used.
> 
> Bill
> _______________________________________________
> Gkrellm mailing list
> [email protected]
> http://lists.jutley.org/cgi-bin/mailman/listinfo/gkrellm
> 
_______________________________________________
Gkrellm mailing list
[email protected]
http://lists.jutley.org/cgi-bin/mailman/listinfo/gkrellm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.