proc.rst (f81483aaeb59da530b286fe5d081e1705eb5c886) proc.rst (9a10064f5625d5572c3626c1516e0bebc6c9fe9b)
1.. SPDX-License-Identifier: GPL-2.0
2
3====================
4The /proc Filesystem
5====================
6
7===================== ======================================= ================
8/proc/sys Terrehon Bowden <terrehon@pacbell.net>, October 7 1999

--- 412 unchanged lines hidden (view full) ---

421 p = private (copy on write)
422
423"offset" is the offset into the mapping, "dev" is the device (major:minor), and
424"inode" is the inode on that device. 0 indicates that no inode is associated
425with the memory region, as the case would be with BSS (uninitialized data).
426The "pathname" shows the name associated file for this mapping. If the mapping
427is not associated with a file:
428
1.. SPDX-License-Identifier: GPL-2.0
2
3====================
4The /proc Filesystem
5====================
6
7===================== ======================================= ================
8/proc/sys Terrehon Bowden <terrehon@pacbell.net>, October 7 1999

--- 412 unchanged lines hidden (view full) ---

421 p = private (copy on write)
422
423"offset" is the offset into the mapping, "dev" is the device (major:minor), and
424"inode" is the inode on that device. 0 indicates that no inode is associated
425with the memory region, as the case would be with BSS (uninitialized data).
426The "pathname" shows the name associated file for this mapping. If the mapping
427is not associated with a file:
428
429 ======= ====================================
429 ============= ====================================
430 [heap] the heap of the program
431 [stack] the stack of the main process
432 [vdso] the "virtual dynamic shared object",
433 the kernel system call handler
430 [heap] the heap of the program
431 [stack] the stack of the main process
432 [vdso] the "virtual dynamic shared object",
433 the kernel system call handler
434 ======= ====================================
434 [anon:<name>] an anonymous mapping that has been
435 named by userspace
436 ============= ====================================
435
436 or if empty, the mapping is anonymous.
437
438The /proc/PID/smaps is an extension based on maps, showing the memory
439consumption for each of the process's mappings. For each mapping (aka Virtual
440Memory Area, or VMA) there is a series of lines such as the following::
441
442 08048000-080bc000 r-xp 00000000 03:02 13130 /bin/bash

--- 1820 unchanged lines hidden ---
437
438 or if empty, the mapping is anonymous.
439
440The /proc/PID/smaps is an extension based on maps, showing the memory
441consumption for each of the process's mappings. For each mapping (aka Virtual
442Memory Area, or VMA) there is a series of lines such as the following::
443
444 08048000-080bc000 r-xp 00000000 03:02 13130 /bin/bash

--- 1820 unchanged lines hidden ---