From mboxrd@z Thu Jan 1 00:00:00 1970
From: =?ISO-8859-1?Q?P=E1draig_Brady?=
Subject: Re: smap output - unnamed entries and heap
Date: Wed, 16 Mar 2011 14:09:00 +0000
Message-ID: <4D80C47C.80300@draigBrady.com>
References: <20110315091412.de6eb63c.rdunlap@xenotime.net>
Mime-Version: 1.0
Content-Transfer-Encoding: QUOTED-PRINTABLE
Return-path:
In-Reply-To:
Sender: linux-newbie-owner@vger.kernel.org
List-ID:
Content-Type: text/plain; charset="iso-8859-1"
To: Aneesh Bhasin
Cc: Randy Dunlap , linux-newbie , linux-kernel
On 16/03/11 05:19, Aneesh Bhasin wrote:
> Also, is there a way in linux (without using
> dedicated tools like valgrind), to see how much heap or anonymous
> memory is attributed to code arising from a particular library/binary
You might find ps_mem.py useful.
If parses smaps and reports RAM usage of a program
http://www.pixelbeat.org/scripts/ps_mem.py
cheers,
P=E1draig.
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie"=
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S1750870Ab1CPOKx (ORCPT );
Wed, 16 Mar 2011 10:10:53 -0400
Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]:10887 "HELO
mail1.slb.deg.dub.stisp.net" rhost-flags-OK-OK-OK-OK)
by vger.kernel.org with SMTP id S1752242Ab1CPOKp (ORCPT
);
Wed, 16 Mar 2011 10:10:45 -0400
Message-ID: <4D80C47C.80300@draigBrady.com>
Date: Wed, 16 Mar 2011 14:09:00 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?=
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3
MIME-Version: 1.0
To: Aneesh Bhasin
CC: Randy Dunlap ,
linux-newbie ,
linux-kernel
Subject: Re: smap output - unnamed entries and heap
References: <20110315091412.de6eb63c.rdunlap@xenotime.net>
In-Reply-To:
X-Enigmail-Version: 1.0.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Sender: linux-kernel-owner@vger.kernel.org
List-ID:
X-Mailing-List: linux-kernel@vger.kernel.org
On 16/03/11 05:19, Aneesh Bhasin wrote:
> Also, is there a way in linux (without using
> dedicated tools like valgrind), to see how much heap or anonymous
> memory is attributed to code arising from a particular library/binary
You might find ps_mem.py useful.
If parses smaps and reports RAM usage of a program
http://www.pixelbeat.org/scripts/ps_mem.py
cheers,
Pádraig.