我可以理解/proc/meminfo中包含的大部分信息,如总内存、缓冲区、缓存等。您能告诉我下面列出的那些不太明显的信息意味着什么吗?
如果有人想知道,我说的是linux命令cat /proc/meminfo的输出。
发布于 2009-03-18 17:10:25
此信息的规范来源是/usr/src/linux/Documentation/filesystems/proc.txt。具体来说,
AnonPages: Non-file backed pages mapped into userspace page tables Mapped: files which have been mmaped, such as libraries Slab: in-kernel data structures cache NFS\_Unstable: NFS pages sent to the server, but not yet committed to stable storage Bounce: Memory used for block device "bounce buffers" VmallocTotal: total size of vmalloc memory area VmallocUsed: amount of vmalloc area which is used VmallocChunk: largest contigious block of vmalloc area which is free
发布于 2011-07-31 00:08:12
我的理解如下。
我同意这些数字很难理解和显示不一致的价值观。
- Check /proc/vmallocinfo to sort out all the entries and filter by yourself,
- Modify fs/proc/mmu.c: get\_vmalloc\_info() to count regions only when if(vma->flags & VM\_ALLOC)
发布于 2009-03-18 14:25:30
来自RedHat
VMallocTotal -所分配的虚拟地址空间的总内存(以千字节为单位)。VMallocUsed --使用过的虚拟地址空间的内存总量(以千字节为单位)。VMallocChunk -可用虚拟地址空间中最大的连续内存块(以千字节为单位)。
https://stackoverflow.com/questions/658411
复制相似问题