procfs-smaps_rollup 1.34 KB
Newer Older
1
2
3
4
5
What:		/proc/pid/smaps_rollup
Date:		August 2017
Contact:	Daniel Colascione <dancol@google.com>
Description:
		This file provides pre-summed memory information for a
6
		process.  The format is almost identical to /proc/pid/smaps,
7
8
9
10
		except instead of an entry for each VMA in a process,
		smaps_rollup has a single entry (tagged "[rollup]")
		for which each field is the sum of the corresponding
		fields from all the maps in /proc/pid/smaps.
11
12
13
		Additionally, the fields Pss_Anon, Pss_File and Pss_Shmem
		are not present in /proc/pid/smaps.  These fields represent
		the sum of the Pss field of each type (anon, file, shmem).
14
		For more details, see Documentation/filesystems/proc.rst
15
		and the procfs man page.
16
17
18
19

		Typical output looks like this:

		00100000-ff709000 ---p 00000000 00:00 0		 [rollup]
20
21
22
		Size:               1192 kB
		KernelPageSize:        4 kB
		MMUPageSize:           4 kB
23
24
		Rss:		     884 kB
		Pss:		     385 kB
25
26
27
		Pss_Anon:	     301 kB
		Pss_File:	      80 kB
		Pss_Shmem:	       4 kB
28
29
30
31
32
33
34
35
36
37
38
39
40
41
		Shared_Clean:	     696 kB
		Shared_Dirty:	       0 kB
		Private_Clean:	     120 kB
		Private_Dirty:	      68 kB
		Referenced:	     884 kB
		Anonymous:	      68 kB
		LazyFree:	       0 kB
		AnonHugePages:	       0 kB
		ShmemPmdMapped:	       0 kB
		Shared_Hugetlb:	       0 kB
		Private_Hugetlb:       0 kB
		Swap:		       0 kB
		SwapPss:	       0 kB
		Locked:		     385 kB