brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · b446a71 Raw
43 lines · plain
1What:		/proc/pid/smaps_rollup2Date:		August 20173Contact:	Daniel Colascione <dancol@google.com>4Description:5		This file provides pre-summed memory information for a6		process.  The format is almost identical to /proc/pid/smaps,7		except instead of an entry for each VMA in a process,8		smaps_rollup has a single entry (tagged "[rollup]")9		for which each field is the sum of the corresponding10		fields from all the maps in /proc/pid/smaps.11		Additionally, the fields Pss_Anon, Pss_File and Pss_Shmem12		are not present in /proc/pid/smaps.  These fields represent13		the sum of the Pss field of each type (anon, file, shmem).14		For more details, see Documentation/filesystems/proc.rst15		and the procfs man page.16 17		Typical output looks like this::18 19			00100000-ff709000 ---p 00000000 00:00 0		 [rollup]20			Size:               1192 kB21			KernelPageSize:        4 kB22			MMUPageSize:           4 kB23			Rss:		     884 kB24			Pss:		     385 kB25			Pss_Dirty:	      68 kB26			Pss_Anon:	     301 kB27			Pss_File:	      80 kB28			Pss_Shmem:	       4 kB29			Shared_Clean:	     696 kB30			Shared_Dirty:	       0 kB31			Private_Clean:	     120 kB32			Private_Dirty:	      68 kB33			Referenced:	     884 kB34			Anonymous:	      68 kB35			LazyFree:	       0 kB36			AnonHugePages:	       0 kB37			ShmemPmdMapped:	       0 kB38			Shared_Hugetlb:	       0 kB39			Private_Hugetlb:       0 kB40			Swap:		       0 kB41			SwapPss:	       0 kB42			Locked:		     385 kB43