Entries in /proc/meminfo

AIB picture AIB · Mar 18, 2009 · Viewed 52.5k times · Source

I can make sense of most of the information contained in /proc/meminfo like total memory, buffers, cache etc. Could you tell me what do the less obvious ones like the ones listed below mean?

  • AnonPages
  • Mapped
  • Slab
  • NFS_Unstable
  • Bounce
  • VmallocTotal
  • VmallocUsed
  • VmallocChunk

If anyone is wondering, I am talking about the output of the linux command cat /proc/meminfo

Answer

ephemient picture ephemient · Mar 18, 2009

The canonical source of this information is /usr/src/linux/Documentation/filesystems/proc.txt. Specifically,

   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