Section: Linux Programmer's Manual (5)
Updated: 06 March 2006
Return to Main Contents
numa_maps - information about numa memory
contrains information about each memory area used by a given process
allowing--among other information--the determination of which nodes were used for the pages.
is only read by programs or by shell commands, and not written to.
A read operation on the file will make the kernel scan the memory area
of a process to determine how memory is used. One line is displayed for each
memory area of the process.
format is very simple. The
shown on each line is the starting address that allows a correlation with output from
shows the memory policy currently in effect for this particular memory area.
The rest of the line contains series of informationi items about the pages in the
Possible information items
The number of pages used on a node. The number of pages includes only pages
mapped by this process. If this is a shared mapping then other processes may
have mapped different pages in a memory area. Note also that page migration
may have temporarily unmapped pages. These may only show up again after the
process has attempted to reference these pages.
The file backing the memory area. If COW (Copy-On-Write) pages were generated
then the memory area may contain additional anonymous pages.
Memory area is used for the heap.
Memory area is used for the stack.
Huge memory area. The page counts shown are huge pages and not regular sized pages.
The number of anonymous page in the range.
Number of dirty pages
Number of mapped pages for file backed files. Only shown if different from the count of anonymous and dirty pages.
Maximum mapcount (number of processes mapping a single page) encountered during scan.
This may be used as an indicator as to the sharing occuring in a given memory area.
Number of pages that have an associated entry on the swap device.
The number of pages on the active list (only shown if different from the number
of pages in this area). If this item is shown then some inactive pages exist in that particular
memory area that may be removed from memory by the swapper soon.
Number of pages that are currently being written out to disk.
- Possible information items
- SEE ALSO
linux.jgfs.net manual pages