proc.rst (29583dfcd2dd72c766422bd05c16f06c6b1fb356) proc.rst (d09e8ca6cb93bb4b97517a18fbbf7eccb0e9ff43)
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 [anon:<name>] an anonymous mapping that has been
434 [anon:<name>] a private anonymous mapping that has been
435 named by userspace
435 named by userspace
436 ============= ====================================
436 [anon_shmem:<name>] an anonymous shared memory mapping that has
437 been named by userspace
438 =================== ===========================================
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

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

--- 1793 unchanged lines hidden ---