* graphs and memory
@ 2005-12-05 7:54 Olleg Samoylov
0 siblings, 0 replies; only message in thread
From: Olleg Samoylov @ 2005-12-05 7:54 UTC (permalink / raw)
To: linux-mm
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-05 7:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-05 7:54 graphs and memory Olleg Samoylov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox