# pmap -d PID
[root@development ~]# pmap -d 3817 3817: /sbin/mingetty tty3 Address Kbytes Mode Offset Device Mapping 0000000000400000 12 r-x-- 0000000000000000 008:00002 mingetty 0000000000602000 8 rw--- 0000000000002000 008:00002 mingetty 000000001b9f8000 132 rw--- 000000001b9f8000 000:00000 [ anon ] 0000003fd8200000 112 r-x-- 0000000000000000 008:00002 ld-2.5.so 0000003fd841b000 4 r---- 000000000001b000 008:00002 ld-2.5.so 0000003fd841c000 4 rw--- 000000000001c000 008:00002 ld-2.5.so 0000003fd9200000 1332 r-x-- 0000000000000000 008:00002 libc-2.5.so 0000003fd934d000 2048 ----- 000000000014d000 008:00002 libc-2.5.so 0000003fd954d000 16 r---- 000000000014d000 008:00002 libc-2.5.so 0000003fd9551000 4 rw--- 0000000000151000 008:00002 libc-2.5.so 0000003fd9552000 20 rw--- 0000003fd9552000 000:00000 [ anon ] 00002ba6fbb68000 8 rw--- 00002ba6fbb68000 000:00000 [ anon ] 00002ba6fbb7d000 8 rw--- 00002ba6fbb7d000 000:00000 [ anon ] 00007fff2ba17000 84 rw--- 00007ffffffea000 000:00000 [ stack ] ffffffffff600000 8192 ----- 0000000000000000 000:00000 [ anon ] mapped: 11984K writeable/private: 268K shared: 0K
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。