~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/procfs-smaps_rollup

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/procfs-smaps_rollup (Architecture ppc) and /Documentation/ABI/testing/procfs-smaps_rollup (Architecture alpha)


  1 What:           /proc/pid/smaps_rollup              1 What:           /proc/pid/smaps_rollup
  2 Date:           August 2017                         2 Date:           August 2017
  3 Contact:        Daniel Colascione <dancol@googl      3 Contact:        Daniel Colascione <dancol@google.com>
  4 Description:                                        4 Description:
  5                 This file provides pre-summed       5                 This file provides pre-summed memory information for a
  6                 process.  The format is almost      6                 process.  The format is almost identical to /proc/pid/smaps,
  7                 except instead of an entry for      7                 except instead of an entry for each VMA in a process,
  8                 smaps_rollup has a single entr      8                 smaps_rollup has a single entry (tagged "[rollup]")
  9                 for which each field is the su      9                 for which each field is the sum of the corresponding
 10                 fields from all the maps in /p     10                 fields from all the maps in /proc/pid/smaps.
 11                 Additionally, the fields Pss_A     11                 Additionally, the fields Pss_Anon, Pss_File and Pss_Shmem
 12                 are not present in /proc/pid/s     12                 are not present in /proc/pid/smaps.  These fields represent
 13                 the sum of the Pss field of ea     13                 the sum of the Pss field of each type (anon, file, shmem).
 14                 For more details, see Document     14                 For more details, see Documentation/filesystems/proc.rst
 15                 and the procfs man page.           15                 and the procfs man page.
 16                                                    16 
 17                 Typical output looks like this     17                 Typical output looks like this::
 18                                                    18 
 19                         00100000-ff709000 ---p     19                         00100000-ff709000 ---p 00000000 00:00 0          [rollup]
 20                         Size:               11     20                         Size:               1192 kB
 21                         KernelPageSize:            21                         KernelPageSize:        4 kB
 22                         MMUPageSize:               22                         MMUPageSize:           4 kB
 23                         Rss:                 8     23                         Rss:                 884 kB
 24                         Pss:                 3     24                         Pss:                 385 kB
 25                         Pss_Dirty:                 25                         Pss_Dirty:            68 kB
 26                         Pss_Anon:            3     26                         Pss_Anon:            301 kB
 27                         Pss_File:                  27                         Pss_File:             80 kB
 28                         Pss_Shmem:                 28                         Pss_Shmem:             4 kB
 29                         Shared_Clean:        6     29                         Shared_Clean:        696 kB
 30                         Shared_Dirty:              30                         Shared_Dirty:          0 kB
 31                         Private_Clean:       1     31                         Private_Clean:       120 kB
 32                         Private_Dirty:             32                         Private_Dirty:        68 kB
 33                         Referenced:          8     33                         Referenced:          884 kB
 34                         Anonymous:                 34                         Anonymous:            68 kB
 35                         LazyFree:                  35                         LazyFree:              0 kB
 36                         AnonHugePages:             36                         AnonHugePages:         0 kB
 37                         ShmemPmdMapped:            37                         ShmemPmdMapped:        0 kB
 38                         Shared_Hugetlb:            38                         Shared_Hugetlb:        0 kB
 39                         Private_Hugetlb:           39                         Private_Hugetlb:       0 kB
 40                         Swap:                      40                         Swap:                  0 kB
 41                         SwapPss:                   41                         SwapPss:               0 kB
 42                         Locked:              3     42                         Locked:              385 kB
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php