proc.5: Clarify that /proc/PID/statm 'shared' field counts *resident* pages

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741360

Reported-by: Zefram <zefram@fysh.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-09-10 10:14:10 +01:00
parent c364070664
commit 4e6fa35246
1 changed files with 2 additions and 1 deletions

View File

@ -2003,7 +2003,8 @@ size (1) total program size
(same as VmSize in \fI/proc/[pid]/status\fP)
resident (2) resident set size
(same as VmRSS in \fI/proc/[pid]/status\fP)
shared (3) shared pages (i.e., backed by a file)
shared (3) number of resident shared pages (i.e., backed by a file)
(same as RssFile+RssShmem in \fI/proc/[pid]/status\fP)
text (4) text (code)
.\" (not including libs; broken, includes data segment)
lib (5) library (unused in Linux 2.6)