From: Eberhard Stoll <eberhard.stoll@berghof•com>
To: linuxppc-embedded@ozlabs•org
Subject: Re: Interpreting /proc/meminfo. How much free memory do I have?
Date: Mon, 27 Mar 2006 11:00:49 +0200 [thread overview]
Message-ID: <4427A9C1.3060000@berghof.com> (raw)
In-Reply-To: <200603270953.11079.roger.larsson@norran.net>
Roger Larsson schrieb:
>On måndag 27 mars 2006 08.49, antonio.dibacco wrote:
>
>
>>Hi,
>>
>>I'm a little bit puzzled with the fields in /proc/meminfo. Which fields
>>have I to sum up to get the amount of free memory?
>>
>>
>
>>From a 2.6 /proc/meminfo
>
>MemTotal: 515532 kB
>MemFree: 6012 kB
>Buffers: 79964 kB
>Cached: 83264 kB
>SwapCached: 82840 kB
>Active: 294024 kB
>Inactive: 130304 kB
>- - -
>
>Completely free is only MemFree. But those pages are only needed for
>interrupt handlers (close enough).
>
>Cached pages are also free but since they contain data that maybe will
>be needed again (unmodified data that already is on disk) they are not
>returned to MemFree state.
>
>Inactive pages has not been in use for awhile and can be written out
>if needed (some are probably unmodified and quick to get)
>
>
Active + Inactive + MemFree is not equal MemTotal. Where can i find the
offset?
Thanks,
Eberhard
next prev parent reply other threads:[~2006-03-27 9:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-27 6:49 Interpreting /proc/meminfo. How much free memory do I have? antonio.dibacco
2006-03-27 7:53 ` Roger Larsson
2006-03-27 9:00 ` Eberhard Stoll [this message]
2006-03-27 9:38 ` antonio.dibacco
2006-03-27 16:49 ` Jeff Angielski
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=4427A9C1.3060000@berghof.com \
--to=eberhard.stoll@berghof$(echo .)com \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox