Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 121537 - proc man page has wrong order for statm
proc man page has wrong order for statm
Product: Fedora
Classification: Fedora
Component: man-pages (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Eido Inoue
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2004-04-22 12:35 EDT by David Eisner
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 1.67
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-08-20 14:17:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Eisner 2004-04-22 12:35:48 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a)
Gecko/20040421 Firefox/0.8.0+

Description of problem:
The order of the fields in statm is incorrect.  It currently says:

  statm  Provides  information  about memory status in pages.  The
         columns are:
          size       total program size
          resident   resident set size
          share      shared pages
          trs        text (code)
          drs        data/stack
          lrs        library
          dt         dirty pages

The order of drs and lrs are reversed.  See
http://lxr.linux.no/source/fs/proc/array.c#L510  :

510         return sprintf(buffer,"%d %d %d %d %d %d %d\n",
511                        size, resident, share, trs, lrs, drs, dt);

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. $ man proc
2. Read man page.  :-)


Additional info:
Comment 1 Eido Inoue 2004-08-20 14:17:01 EDT
proc man page is rewritten with version 1.67, which doe snot mention
the struct.

Note You need to log in before you can comment on or make changes to this bug.