[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: When ram memory is critical ?




Yup.

On 04/08/2011 04:41 PM, Fabio DellaCorte wrote:
'{print $3}' used
'{print $4}' available

right ?

2011/4/8 Ron Johnson<ron.l.johnson@cox.net>


It should be '{print $3}'.


$ free -m
          total     used     free     shared    buffers     cached
Mem:       8059     6249     1810          0         20       3485
-/+ buffers/cache:  2743     5316
Swap:     15624      139    15485


$ free -m | grep buffers/cache | awk '{print $3}'
2743



On 04/08/2011 03:59 PM, Fabio DellaCorte wrote:

So i think the correct thing to do is  "free -m | grep buffers/cache | awk
'{print $4}" is right for me to place a warning system that monitors the
RAM
.

2011/4/8 Ron Johnson<ron.l.johnson@cox.net>


The actual "used by kernel+applications" is, I think, 371.


On 04/08/2011 02:53 PM, Fabio DellaCorte wrote:

  OK! Thank you for the explanations. But raising this case, what is the
parameter to be controlled? And compared to the controls I mentioned
above which
of the two actually fit the occupation of RAM ?
2011/4/8 Stan Hoeppner<stan@hardwarefreak.com>

  Fabio DellaCorte put forth on 4/8/2011 12:13 PM:


  root@debian-cq2:/etc/pandora# free -m
              total       used       free     shared    buffers
cached
Mem:          8006        790       7215          0        210
  208
-/+ buffers/cache:        371       7634
Swap:        22883          2      22881


You have 7GB+ free out of 8GB.  And you're concerned with memory usage?
  LOL

Why do you have 20GB of swap?  Given your memory usage, assuming the
above is "typical", and the fact you have 8GB RAM, I'm going to guess
you could likely get by with no swap device at all.

You have nothing to worry about.  Unless of course this is an "idle"
state, and you run some gargantuan simulation app that eats all 8GB
when
launched.  I doubt that's the case, as you'd not be asking this
question
if you used such an app.

   From what you've provided, you don't need to worry about memory.


--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749


Reply to: