2010년 12월 30일 목요일

meminfo documentation


원문은 http://lwn.net/Articles/28309/  입니다.
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:     16344972 kB
MemFree:      13634064 kB
Buffers:          3656 kB
Cached:        1195708 kB
SwapCached:          0 kB
Active:         891636 kB
Inactive:      1077224 kB
HighTotal:    15597528 kB
HighFree:     13629632 kB
LowTotal:       747444 kB
LowFree:          4432 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:             968 kB
Writeback:           0 kB
Mapped:         280372 kB
Slab:           684068 kB
Committed_AS:  1576424 kB
PageTables:      24448 kB
ReverseMaps:   1080904
VmallocTotal:   112216 kB
VmallocUsed:       428 kB
VmallocChunk:   111088 kB

MemTotal:     HighTotal + LowTotal
MemFree:      LowFree + HighFree

Buffers:      relatively temporary storage for raw disk blocks
              shouldn't get tremendously large (20MB or so)
Cached:       in-memory cache for files read from the disk (the page
              cache)
SwapCached:   things which were "Cached", but have now been
              swapped out to disk.

Active:
Inactive:

HighTotal:
HighFree:     Highmem areas are for use by userspace programs, or
              for the pagecache.

LowTotal:
LowFree:      Lowmem is memory which can be used for everything that
              highmem can be used for, but it is also availble for the
              kernel's use.  Among many other things, it is where
              everything from the Slab is allocated.  Bad things happen
              when you're out of lowmem.

SwapTotal:    total amount of swap space available
SwapFree:     Memory which has been evicted from RAM, and is temporarily
              on the disk
Dirty:        Memory which is waiting to get written back to the disk

Writeback:    Memory which is actively being written back to the disk

Mapped:       files which have been mmaped, such as libraries

Slab:         in-kernel data structures cache

Committed_AS:

PageTables:

ReverseMaps:  number of rmap pte chains

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

댓글 없음:

댓글 쓰기