xref: /linux/Documentation/ABI/testing/procfs-smaps_rollup (revision 493b0e9d945fa9dfe96be93ae41b4ca4b6fdb317)
1*493b0e9dSDaniel ColascioneWhat:		/proc/pid/smaps_rollup
2*493b0e9dSDaniel ColascioneDate:		August 2017
3*493b0e9dSDaniel ColascioneContact:	Daniel Colascione <dancol@google.com>
4*493b0e9dSDaniel ColascioneDescription:
5*493b0e9dSDaniel Colascione		This file provides pre-summed memory information for a
6*493b0e9dSDaniel Colascione		process.  The format is identical to /proc/pid/smaps,
7*493b0e9dSDaniel Colascione		except instead of an entry for each VMA in a process,
8*493b0e9dSDaniel Colascione		smaps_rollup has a single entry (tagged "[rollup]")
9*493b0e9dSDaniel Colascione		for which each field is the sum of the corresponding
10*493b0e9dSDaniel Colascione		fields from all the maps in /proc/pid/smaps.
11*493b0e9dSDaniel Colascione		For more details, see the procfs man page.
12*493b0e9dSDaniel Colascione
13*493b0e9dSDaniel Colascione		Typical output looks like this:
14*493b0e9dSDaniel Colascione
15*493b0e9dSDaniel Colascione		00100000-ff709000 ---p 00000000 00:00 0		 [rollup]
16*493b0e9dSDaniel Colascione		Rss:		     884 kB
17*493b0e9dSDaniel Colascione		Pss:		     385 kB
18*493b0e9dSDaniel Colascione		Shared_Clean:	     696 kB
19*493b0e9dSDaniel Colascione		Shared_Dirty:	       0 kB
20*493b0e9dSDaniel Colascione		Private_Clean:	     120 kB
21*493b0e9dSDaniel Colascione		Private_Dirty:	      68 kB
22*493b0e9dSDaniel Colascione		Referenced:	     884 kB
23*493b0e9dSDaniel Colascione		Anonymous:	      68 kB
24*493b0e9dSDaniel Colascione		LazyFree:	       0 kB
25*493b0e9dSDaniel Colascione		AnonHugePages:	       0 kB
26*493b0e9dSDaniel Colascione		ShmemPmdMapped:	       0 kB
27*493b0e9dSDaniel Colascione		Shared_Hugetlb:	       0 kB
28*493b0e9dSDaniel Colascione		Private_Hugetlb:       0 kB
29*493b0e9dSDaniel Colascione		Swap:		       0 kB
30*493b0e9dSDaniel Colascione		SwapPss:	       0 kB
31*493b0e9dSDaniel Colascione		Locked:		     385 kB
32