ChinaUnix.net
相关文章推荐:

membank meminfo 初始化

转: Documentation/filesystems/proc.txt meminfo zh_cn: Provides information about distribution and utilization of memory. This varies by architecture and compile options. The following is from a 16GB PIII, which has highmem enabled. You may not have all of these fields. MemTotal: 所有可用RAM大小 (即物理内存减去一些预留位和内核的二进制代码大小) MemFree: LowFree与HighFree的总和 ...

by yjh777 - Shell - 2012-01-10 21:34:11 阅读(2126) 回复(3)

相关讨论

/proc/meminfo This is one of the more commonly used files in the /proc/ directory, as it reports a large amount of valuable information about the systems RAM usage. The following sample /proc/meminfo virtual file is from a system with 256 MB of RAM and 512 MB of swap space: MemTotal: 255908 kB MemFree: 69936 kB Buffers: 15812 kB Cached: 115124 kB SwapCached: ...

by liuake - Linux文档专区 - 2008-12-25 11:11:52 阅读(665) 回复(0)

我在/proc/meminfo下面看到了一些数据。[code]MemTotal: 2034284 kB MemFree: 474328 kB Buffers: 53728 kB Cached: 1178776 kB SwapCached: 460 kB Active: 747908 kB Inactive: 730640 kB Active(anon): 232864 kB Inactive(anon): 81168 kB Active(file): 515044 kB Inactive(file): 649472 kB Unevictable: 0 kB Mlocked: ...

by stefan_weids - 嵌入式开发 - 2012-05-08 17:20:38 阅读(1724) 回复(0)

看/proc/meminfo,有个问题不解。 就是MemTotal由/proc/meminfo里的哪些部分组成? 我个人理解,Memtotal=Memfree+buffers+caches+Anonpages+Slab+Pagetables+VMallocused? 但是好多系统往往这个等号不成立,往往等号左边大于右边,而且有的机器相差还很大。 是否某些内存的使用没有统计在meminfo里面? 请高手指点。谢谢!

by hmf888 - Linux系统管理 - 2010-06-10 10:45:43 阅读(1558) 回复(1)

今天在http://www.linuxsir.org/bbs/showthread.php?t=154274看到的介绍meminfo,记下以备后用! Tips & Tricks Featured Article: /proc/meminfo Explained March 2003 "Free," "buffer," "swap," "dirty." What does it all mean? If you said, "something to do with the Summer of '68", you may need a primer on 'meminfo'. The entries in the /proc/meminfo can help explain what's going on with your memory usage, if...

by smart-pig - Linux文档专区 - 2009-06-05 16:41:52 阅读(1813) 回复(0)

[color="#295200"]/proc/meminfo Explained "Free," "buffer," "swap," "dirty." What does it all mean? If you said, "something to do with the Summer of '68", you may need a primer on 'meminfo'. The entries in the /proc/meminfo can help explain what's going on with your memory usage, if you know how to read it. Example of "cat /proc/meminfo": [color="#ffff00"]root: total: used: free: shared:...

by jinweidavid - Linux文档专区 - 2009-01-22 10:54:13 阅读(718) 回复(0)

/proc/meminfo Explained March 2003 "Free," "buffer," "swap," "dirty." What does it all mean? If you said, "something to do with the Summer of '68", you may need a primer on 'meminfo'. The entries in the /proc/meminfo can help explain what's going on with your memory usage, if you know how to read it. Example of "cat /proc/meminfo": root: total: used: free: shared: bu...

by yuchuan2008 - Linux文档专区 - 2008-12-18 13:03:25 阅读(908) 回复(0)

上篇文章对meminfo里的信息做出简单的解释了那么内核怎么把meminfo信息动态反应到meminfo文件中呢在内核 linux/fs/proc/proc_misc.c中 static int meminfo_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) { struct sysinfo i; int len; unsigned long committed; unsigned long allowed; ...

by KYlinux - Linux文档专区 - 2008-10-28 20:07:43 阅读(1389) 回复(0)

主要参考内核文档和红帽文档对 > cat /proc/meminfo 读出的内核信息进行解释, 下篇文章会简单对读出该信息的代码进行简单的分析。MemTotal: 507480 kB MemFree: 10800 kB Buffers: 34728 kB Cached: 98852 kB SwapCached: 128 kB Active: 304248 kB Inactive: 46192 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 507480 kB LowFree: ...

by KYlinux - Linux文档专区 - 2008-10-27 22:13:49 阅读(983) 回复(0)

Tips & Tricks Featured Article: /proc/meminfo Explained March 2003 "Free," "buffer," "swap," "dirty." What does it all mean? If you said, "something to do with the Summer of '68", you may need a primer on 'meminfo'. The entries in the /proc/meminfo can help explain what's going on with your memory usage, if you know how to read it. Example of "cat /proc/meminfo": root: total: used...

by bigluo - Linux文档专区 - 2008-05-21 16:49:37 阅读(645) 回复(0)

from: http://marc.info/?l=linux-mm&m=104990983211149&w=2 List: linux-mm Subject: meminfo documentation take 2 From: Dave Hansen Date: 2003-04-09 17:35:34 [ Download message RAW ] Arjan pointed me to a lovely RedHat page which goes through some of this as well: http://www.redhat.com/advice/tips/ I integrated some of it, and took Bill Irwin's suggestion about the ReverseMa...

by itlook - Linux文档专区 - 2008-04-18 01:46:03 阅读(475) 回复(0)