From: Olleg Samoylov <olleg@mipt.ru>
To: linux-mm@kvack.org
Subject: graphs and memory
Date: Mon, 05 Dec 2005 10:54:39 +0300 [thread overview]
Message-ID: <4393F23F.4050106@mipt.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 755 bytes --]
Hi all.
This is old question, but I didn't see clear answer yet.
I try to draw memory usage graph in rrd tools. My server without swap
(4Gb is enough, IMHO).
First graph of physical memory. In kernel 2.6.14 Looked like:
Cached+MemFree+Mapped+Slab=TotalMemory
But is not exactly equal. For instance now
Cached+MemFree+Mapped+Slab-TotalMemory=22680
This means I use 22Mb more memory, then I have total.
Is this correct? What do I need add or subtract to get total memory?
Second graph is cache memory. For early kernels looked like:
Active+Inactive=Cached
But this is not true now, 2.6.14 for instance.
Active+Inactive-Cached=157044 (153Mb)
What do I need add or substract to get full picture?
May be some kernel guru know answers?
--
Olleg Samoylov
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 4124 bytes --]
reply other threads:[~2005-12-05 7:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4393F23F.4050106@mipt.ru \
--to=olleg@mipt.ru \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.