From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <438E617F.4020005@gmail.com> Date: Wed, 30 Nov 2005 20:35:43 -0600 From: Hareesh Nagarajan MIME-Version: 1.0 Subject: Re: Better pagecache statistics ? References: <1133377029.27824.90.camel@localhost.localdomain> In-Reply-To: <1133377029.27824.90.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Badari Pulavarty Cc: linux-mm , lkml List-ID: Hi, Badari Pulavarty wrote: > - How much is just file system cache (regular file data) ? This is just a thought of mine: /proc/slabinfo? > - How much is shared memory pages ? > - How much is mmaped() stuff ? cat /proc/vmstat | grep nr_mapped nr_mapped 77105 But yes, this doesn't give you a detailed account. > - How much is for text, data, bss, heap, malloc ? Again, this is just a thought of mine: Couldn't you get this information from /proc//maps or from the nicer and easier to parse procps application: pmap ? Thanks, Hareesh -- 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: email@kvack.org