Xymon Mailing List Archive search

What do i see when i look at the memory check

3 messages in this thread

list Klaas Eenkhoorn · Wed, 2 Jul 2014 13:38:17 +0000 ·
All,

What do i see when i look at the memory statistics page ?

I see Physical (real), Actual and Swap, swap i know but what are the other two ?


Met vriendelijke groet,

Klaas D. Eenkhoorn

------------------------- Disclaimer ---------------------------- De informatie verzonden met dit e-mailbericht (en bijlagen) is uitsluitend bestemd voor de geadresseerde(n) en zij die van de geadresseerde(n) toestemming kregen dit bericht te lezen. Kennisneming door anderen is niet toegestaan. De informatie in dit e-mailbericht (en bijlagen) kan vertrouwelijk van aard zijn en binnen het bereik van een geheimhoudingsplicht en/of een verschoningsrecht vallen. Indien dit e-mailbericht niet voor u bestemd is, wordt u verzocht de afzender daarover onmiddellijk te informeren en het e-mailbericht (en bijlagen) te vernietigen. -----------------------------------------------------------------
list Deepak Deore · Wed, 2 Jul 2014 08:20:04 -0700 ·
From:
http://stackoverflow.com/questions/12917179/on-linux-we-see-following-physical-real-swap-virtual-memory-which-should


"Physical memory is the amount of DRAM which is currently used. Real memory
shows how much your applications are using system DRAM memory. It is
roughly lower than physical memory. Linux system caches some of disk data.
This caching is the difference between physical and real memory. Actually,
when you have free memory Linux goes to use it for caching. Do not worry,
as your applications demand memory they gonna get the cached space back."

So you have to worry about actual memory and not the real memory.


2014-07-02 6:38 GMT-07:00 Eenkhoorn, (Klaas) <user-290c0eeb7e27@xymon.invalid>:
quoted from Klaas Eenkhoorn
 All,

What do i see when i look at the memory statistics page ?

I see Physical (real), Actual and Swap, swap i know but what are the other
two ?


Met vriendelijke groet,


* Klaas D. Eenkhoorn * ------------------------- Disclaimer
---------------------------- De informatie verzonden met dit e-mailbericht
(en bijlagen) is uitsluitend bestemd voor de geadresseerde(n) en zij die
van de geadresseerde(n) toestemming kregen dit bericht te lezen.
Kennisneming door anderen is niet toegestaan. De informatie in dit
e-mailbericht (en bijlagen) kan vertrouwelijk van aard zijn en binnen het
bereik van een geheimhoudingsplicht en/of een verschoningsrecht vallen.
Indien dit e-mailbericht niet voor u bestemd is, wordt u verzocht de
afzender daarover onmiddellijk te informeren en het e-mailbericht (en
bijlagen) te vernietigen.

list Jeremy Laidman · Thu, 3 Jul 2014 10:32:24 +1000 ·
2014-07-02 23:38 GMT+10:00 Eenkhoorn, (Klaas) <user-290c0eeb7e27@xymon.invalid>:
quoted from Deepak Deore
What do i see when i look at the memory statistics page ?

I see Physical (real), Actual and Swap, swap i know but what are the other
two ?
It depends on the OS, but in many cases it's the same as Linux: "real"
means how much RAM is in use, and "actual" means how much RAM is in use by
processes and cannot be allocated to other processes.  To understand the
difference, you should know that Linux (and some other OSes) some spare RAM
is used by the kernel for disk buffers and other performance-enhancing
purposes.  If a process needs some more RAM, the kernel will give up some
of this buffer space, and so the RAM is available even though it's
technically in use.  So "real" means RAM used by processes and kernel, but
"actual" means how much is used by processes.j

You almost never have to care about "real" and it's generally going to be
close to how much physical RAM you have.  There's no point having RAM
sitting idle if the kernel can use it to make the system run faster.

J