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 Content-Length: 619 Lines: 17 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" 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.tux.org/lkml/