0001 What: /proc/pid/smaps_rollup
0002 Date: August 2017
0003 Contact: Daniel Colascione <dancol@google.com>
0004 Description:
0005 This file provides pre-summed memory information for a
0006 process. The format is almost identical to /proc/pid/smaps,
0007 except instead of an entry for each VMA in a process,
0008 smaps_rollup has a single entry (tagged "[rollup]")
0009 for which each field is the sum of the corresponding
0010 fields from all the maps in /proc/pid/smaps.
0011 Additionally, the fields Pss_Anon, Pss_File and Pss_Shmem
0012 are not present in /proc/pid/smaps. These fields represent
0013 the sum of the Pss field of each type (anon, file, shmem).
0014 For more details, see Documentation/filesystems/proc.rst
0015 and the procfs man page.
0016
0017 Typical output looks like this::
0018
0019 00100000-ff709000 ---p 00000000 00:00 0 [rollup]
0020 Size: 1192 kB
0021 KernelPageSize: 4 kB
0022 MMUPageSize: 4 kB
0023 Rss: 884 kB
0024 Pss: 385 kB
0025 Pss_Dirty: 68 kB
0026 Pss_Anon: 301 kB
0027 Pss_File: 80 kB
0028 Pss_Shmem: 4 kB
0029 Shared_Clean: 696 kB
0030 Shared_Dirty: 0 kB
0031 Private_Clean: 120 kB
0032 Private_Dirty: 68 kB
0033 Referenced: 884 kB
0034 Anonymous: 68 kB
0035 LazyFree: 0 kB
0036 AnonHugePages: 0 kB
0037 ShmemPmdMapped: 0 kB
0038 Shared_Hugetlb: 0 kB
0039 Private_Hugetlb: 0 kB
0040 Swap: 0 kB
0041 SwapPss: 0 kB
0042 Locked: 385 kB