[Bug 753124] Re: pmap: wrong output in extended format (-x option)

Launchpad Bug Tracker 753124 at bugs.launchpad.net
Thu Apr 7 10:18:20 UTC 2011


** Branch linked: lp:ubuntu/procps

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/753124

Title:
  pmap: wrong output in extended format (-x option)

Status in “procps” package in Ubuntu:
  Fix Released
Status in “procps” package in Debian:
  New

Bug description:
  Binary package hint: procps

  As of version 3.2.8-10ubuntu1 pmap -x always prints zero in Kbytes
  column and does not count summaries for RSS and dirty columns. For
  example:

  $ pmap -x 2868
  2868:   /bin/bash
  Address   Kbytes     RSS   Dirty Mode   Mapping
  08048000       0     608       0 r-x--  bash
  08107000       0       4       0 r----  bash
  08108000       0      16      16 rw---  bash
  0810d000       0      20      20 rw---    [ anon ]
  09405000       0    2464    2044 rw---    [ anon ]
  ...
  b7855000       0       4       4 rw---  ld-2.12.1.so
  bfb1f000       0      24      24 rw---    [ stack ]
  -------- ------- ------- ------- -------
  total kB    9984       -       -       -

  I think it should print something like:

  $ ./pmap -x 2868
  2868:   /bin/bash
  Address   Kbytes     RSS   Dirty Mode   Mapping
  08048000     764     608       0 r-x--  bash
  08107000       4       4       0 r----  bash
  08108000      20      16      16 rw---  bash
  0810d000      20      20      20 rw---    [ anon ]
  09405000    3608    2464    2044 rw---    [ anon ]
  ...
  b7855000       4       4       4 rw---  ld-2.12.1.so
  bfb1f000     132      24      24 rw---    [ stack ]
  -------- ------- ------- ------- -------
  total kB    9984    4064    2152       -



More information about the Ubuntu-sponsors mailing list