[Bug 1071746] Re: Missing information in proc(5)

Michael Kerrisk mtk.manpages at gmail.com
Thu Feb 26 12:46:37 UTC 2015


Upstream maintainer here.

Regarding the /proc/PID/stat, you need to upgrade your man-pages. An
update to man-pages in May 2014 added documentation for these fields.

Likewise VmSwap in /proc/PID/status is already documented in recent man-
pages.

(See http://man7.org/linux/man-pages/man5/proc.5.html )

For VmPin, the documentation indeed was lacking, and I have added:

              * VmPin:  Pinned  memory  size (since Linux 3.2).  These
                are pages that can't be moved because something  needs
                to directly access physical memory.

Thanks,

Michael

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1071746

Title:
  Missing information in proc(5)

Status in manpages package in Ubuntu:
  Confirmed

Bug description:
  proc(5) only lists 44 fields in /proc/pid/stat, however there is more.

  Here is what I get (52 fields counted):
  3985 (eclipse) S 1 1513 1513 0 -1 4202496 82963 451290 481 284 26636 4125 1938 1267 20 0 22 0 974680 911331328 57317 4294967295 134512640 134526532 3215374240 3215370384 3078403108 0 4 4096 16796879 4294967295 0 0 17 1 0 0 1674 0 0 134532820 134533928 145444864 3215378654 3215378679 3215378679 3215380451 0

  What are the additional 8 fields?

  /proc/[pid]/stat says the information is defined in
  /usr/src/linux/fs/proc/array.c It is not there I have linux-
  headers-3.5.0-17 and linux-headers-3.5.0-17-generic and none of them
  has array.c in their fs/proc/ dir.

  *UPDATE*
  There is missing information in /proc/[pid]/status, as well. VmLck is followed by VmPin, which is not in the documentation and VmPTE is followed by VmSwap which is not documented, also.

  Description:	Ubuntu 12.10
  Release:	12.10
  Freshly updated from the latest LTS (12.04.1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/1071746/+subscriptions



More information about the foundations-bugs mailing list