linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Beller <stefanbeller@googlemail.com>
To: PINTU KUMAR <pintu_agarwal@yahoo.com>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"mgorman@suse.de" <mgorman@suse.de>
Subject: Re: Help about calculating total memory consumption during booting
Date: Sun, 29 Dec 2013 21:25:49 +0100	[thread overview]
Message-ID: <52C0854D.2090802@googlemail.com> (raw)
In-Reply-To: <1388341026.52582.YahooMailNeo@web160105.mail.bf1.yahoo.com>

On 29.12.2013 19:17, PINTU KUMAR wrote:
> Hi,
> 
> I need help in roughly calculating the total memory consumption in an embedded Linux system just after booting is finished.
> I know, I can see the memory stats using "free" and "/proc/meminfo"
> 
> But, I need the breakup of "Used" memory during bootup, for both kernel space and user application.
> 
> Example, on my ARM machine with 128MB RAM, the free memory reported is roughly:
> Total: 90MB
> Used: 88MB
> Free: 2MB
> Buffer+Cached: (5+19)MB
> 
> Now, my question is, how to find the breakup of this "Used" memory of "88MB".
> This should include both kernel space allocation and user application allocation(including daemons).
> 

http://www.linuxatemyram.com/ dont panic ;)

How about htop, top or
"valgrind --tool massif"




--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2013-12-29 20:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-29 18:17 PINTU KUMAR
2013-12-29 20:25 ` Stefan Beller [this message]
2013-12-31  1:52   ` PINTU KUMAR
2013-12-31  1:54   ` PINTU KUMAR

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=52C0854D.2090802@googlemail.com \
    --to=stefanbeller@googlemail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mgorman@suse.de \
    --cc=pintu_agarwal@yahoo.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox