Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932293AbVLAQAy (ORCPT ); Thu, 1 Dec 2005 11:00:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932289AbVLAQAy (ORCPT ); Thu, 1 Dec 2005 11:00:54 -0500 Received: from hera.kernel.org ([140.211.167.34]:39388 "EHLO hera.kernel.org") by vger.kernel.org with ESMTP id S932278AbVLAQAx (ORCPT ); Thu, 1 Dec 2005 11:00:53 -0500 Date: Thu, 1 Dec 2005 14:00:44 -0200 From: Marcelo Tosatti To: Badari Pulavarty Cc: linux-mm , lkml Subject: Re: Better pagecache statistics ? Message-ID: <20051201160044.GB14499@dmt.cnet> References: <1133377029.27824.90.camel@localhost.localdomain> <20051201152029.GA14499@dmt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051201152029.GA14499@dmt.cnet> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 955 Lines: 28 On Thu, Dec 01, 2005 at 01:20:29PM -0200, Marcelo Tosatti wrote: > > Hi Badari, > > On Wed, Nov 30, 2005 at 10:57:09AM -0800, Badari Pulavarty wrote: > > Hi, > > > > Is there a effort/patches underway to provide better pagecache > > statistics ? > > > > Basically, I am interested in finding detailed break out of > > cached pages. ("Cached" in /proc/meminfo) > > > > Out of this "cached pages" > > > > - How much is just file system cache (regular file data) ? > > - How much is shared memory pages ? > > You could do that from userspace probably, by doing some math > on all processes statistics versus global stats, but does not > seem very practical. Actually, SysRQ-M reports "N pages shared". - 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/