From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx167.postini.com [74.125.245.167]) by kanga.kvack.org (Postfix) with SMTP id 4BBC26B0006 for ; Mon, 4 Mar 2013 06:18:21 -0500 (EST) Received: by mail-pa0-f42.google.com with SMTP id kq12so3111011pab.15 for ; Mon, 04 Mar 2013 03:18:20 -0800 (PST) Date: Mon, 4 Mar 2013 03:18:18 -0800 (PST) From: David Rientjes Subject: Re: [Bug 53501] New: Duplicated MemTotal with different values In-Reply-To: <51316242.1010206@gmail.com> Message-ID: References: <20130212165107.32be0c33.akpm@linux-foundation.org> <20130212195929.7cd2e597.akpm@linux-foundation.org> <511C61AD.2010702@gmail.com> <51245D48.4030102@gmail.com> <51316242.1010206@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Simon Jeons Cc: Jiang Liu , Andrew Morton , sworddragon2@aol.com, bugzilla-daemon@bugzilla.kernel.org, linux-mm@kvack.org On Sat, 2 Mar 2013, Simon Jeons wrote: > > This has nothing to do with this thread, but /proc/vmstat actually does > > not include the MemTotal value being discussed in this thread that > > /proc/meminfo does. /proc/meminfo is typically the interface used by > > applications, probably mostly for historical purposes since both are > > Do you mean /proc/vmstat is not used by applications. > sar -B 1 > pgpgin/s pgpgout/s fault/s majflt/s pgfree/s pgscank/s pgscand/s pgsteal/s > %vmeff > I think they are read from /proc/vmstat > Yes, there is userspace code that parses /proc/vmstat. -- 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