18c2ecf20Sopenharmony_ciWhat: /proc/pid/smaps_rollup 28c2ecf20Sopenharmony_ciDate: August 2017 38c2ecf20Sopenharmony_ciContact: Daniel Colascione <dancol@google.com> 48c2ecf20Sopenharmony_ciDescription: 58c2ecf20Sopenharmony_ci This file provides pre-summed memory information for a 68c2ecf20Sopenharmony_ci process. The format is almost identical to /proc/pid/smaps, 78c2ecf20Sopenharmony_ci except instead of an entry for each VMA in a process, 88c2ecf20Sopenharmony_ci smaps_rollup has a single entry (tagged "[rollup]") 98c2ecf20Sopenharmony_ci for which each field is the sum of the corresponding 108c2ecf20Sopenharmony_ci fields from all the maps in /proc/pid/smaps. 118c2ecf20Sopenharmony_ci Additionally, the fields Pss_Anon, Pss_File and Pss_Shmem 128c2ecf20Sopenharmony_ci are not present in /proc/pid/smaps. These fields represent 138c2ecf20Sopenharmony_ci the sum of the Pss field of each type (anon, file, shmem). 148c2ecf20Sopenharmony_ci For more details, see Documentation/filesystems/proc.rst 158c2ecf20Sopenharmony_ci and the procfs man page. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci Typical output looks like this:: 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci 00100000-ff709000 ---p 00000000 00:00 0 [rollup] 208c2ecf20Sopenharmony_ci Size: 1192 kB 218c2ecf20Sopenharmony_ci KernelPageSize: 4 kB 228c2ecf20Sopenharmony_ci MMUPageSize: 4 kB 238c2ecf20Sopenharmony_ci Rss: 884 kB 248c2ecf20Sopenharmony_ci Pss: 385 kB 258c2ecf20Sopenharmony_ci Pss_Anon: 301 kB 268c2ecf20Sopenharmony_ci Pss_File: 80 kB 278c2ecf20Sopenharmony_ci Pss_Shmem: 4 kB 288c2ecf20Sopenharmony_ci Shared_Clean: 696 kB 298c2ecf20Sopenharmony_ci Shared_Dirty: 0 kB 308c2ecf20Sopenharmony_ci Private_Clean: 120 kB 318c2ecf20Sopenharmony_ci Private_Dirty: 68 kB 328c2ecf20Sopenharmony_ci Referenced: 884 kB 338c2ecf20Sopenharmony_ci Anonymous: 68 kB 348c2ecf20Sopenharmony_ci LazyFree: 0 kB 358c2ecf20Sopenharmony_ci AnonHugePages: 0 kB 368c2ecf20Sopenharmony_ci ShmemPmdMapped: 0 kB 378c2ecf20Sopenharmony_ci Shared_Hugetlb: 0 kB 388c2ecf20Sopenharmony_ci Private_Hugetlb: 0 kB 398c2ecf20Sopenharmony_ci Swap: 0 kB 408c2ecf20Sopenharmony_ci SwapPss: 0 kB 418c2ecf20Sopenharmony_ci Locked: 385 kB 42