procfs-smaps_rollup 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. What: /proc/pid/smaps_rollup
  2. Date: August 2017
  3. Contact: Daniel Colascione <[email protected]>
  4. Description:
  5. This file provides pre-summed memory information for a
  6. 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 corresponding
  10. fields from all the maps in /proc/pid/smaps.
  11. Additionally, the fields Pss_Anon, Pss_File and Pss_Shmem
  12. are not present in /proc/pid/smaps. These fields represent
  13. 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. Typical output looks like this::
  17. 00100000-ff709000 ---p 00000000 00:00 0 [rollup]
  18. Size: 1192 kB
  19. KernelPageSize: 4 kB
  20. MMUPageSize: 4 kB
  21. Rss: 884 kB
  22. Pss: 385 kB
  23. Pss_Dirty: 68 kB
  24. Pss_Anon: 301 kB
  25. Pss_File: 80 kB
  26. Pss_Shmem: 4 kB
  27. Shared_Clean: 696 kB
  28. Shared_Dirty: 0 kB
  29. Private_Clean: 120 kB
  30. Private_Dirty: 68 kB
  31. Referenced: 884 kB
  32. Anonymous: 68 kB
  33. LazyFree: 0 kB
  34. AnonHugePages: 0 kB
  35. ShmemPmdMapped: 0 kB
  36. Shared_Hugetlb: 0 kB
  37. Private_Hugetlb: 0 kB
  38. Swap: 0 kB
  39. SwapPss: 0 kB
  40. Locked: 385 kB