Package: procps
Version: 1:3.2.7-3
Severity: normal
With a standard Etch kernel (linux-image-2.6.18-6-686 2.6.18.dfsg.1-21),
I am unable to get 'pmap -x <pid>' to show any information that 'pmap
<pid>' doesn't show. For instance, I compiled the following test program:
#include <stdlib.h>
int main () {
void *foo;
foo = malloc(20*1024*1024);
sleep(30);
free(foo);
return 0;
}
and then ran 'pmap -x 9672' on it:
9672: ./test
Address Kbytes RSS Anon Locked Mode Mapping
08048000 4 - - - r-x-- test
08049000 4 - - - rw--- test
b6a06000 20488 - - - rw--- [ anon ]
b7e08000 1184 - - - r-x-- libc-2.3.6.so
b7f30000 20 - - - r---- libc-2.3.6.so
b7f35000 8 - - - rw--- libc-2.3.6.so
b7f37000 12 - - - rw--- [ anon ]
b7f44000 8 - - - rw--- [ anon ]
b7f46000 4 - - - r-x-- [ anon ]
b7f47000 84 - - - r-x-- ld-2.3.6.so
b7f5c000 8 - - - rw--- ld-2.3.6.so
bf8ac000 84 - - - rw--- [ stack ]
-------- ------- ------- ------- -------
total kB 21908 - - -
I was hoping to see that the memory allocated at b6a06000 has a
reassuringly low RSS, but all I ever see is "-" (same on RHEL4 with
2.6.9 kernel and RHEL5 with 2.6.18 kernel, by the way).
I would really appreciate it if this parameter worked, because I haven't
found any other way to get the information I'm looking for.
Regards,
Michael
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]