Re: [Bug 53501] New: Duplicated MemTotal with different values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/20/2013 03:09 PM, David Rientjes wrote:
On Wed, 20 Feb 2013, Simon Jeons wrote:

What I confuse is why have /proc/meminfo and /proc/vmstat at the same time,
they both use to monitor memory subsystem states. What's the root reason?

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

present when procfs is configured and mounted, but also to avoid
determining the native page size.  There's no implicit userspace API
exported by /proc/vmstat.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]