Skip to content

Instantly share code, notes, and snippets.

@sonots
Created August 15, 2014 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sonots/ffe105fdcb6d48c1142c to your computer and use it in GitHub Desktop.
Save sonots/ffe105fdcb6d48c1142c to your computer and use it in GitHub Desktop.
pmap
sudo pmap -x 8632
8632: /usr/sbin/redis-server /etc/redis.conf
Address Kbytes RSS Dirty Mode Mapping
0062a000 108 36 0 r-x-- ld-2.5.so
00645000 4 4 0 r---- ld-2.5.so
00646000 4 4 0 rw--- ld-2.5.so
00649000 1360 404 0 r-x-- libc-2.5.so
0079d000 4 0 0 ----- libc-2.5.so
0079e000 8 4 0 r---- libc-2.5.so
007a0000 4 4 4 rw--- libc-2.5.so
007a1000 12 12 12 rw--- [ anon ]
007a6000 156 4 0 r-x-- libm-2.5.so
007cd000 4 0 0 r---- libm-2.5.so
007ce000 4 0 0 rw--- libm-2.5.so
007e6000 12 8 0 r-x-- libdl-2.5.so
007e9000 4 0 0 r---- libdl-2.5.so
007ea000 4 0 0 rw--- libdl-2.5.so
007ed000 84 64 0 r-x-- libpthread-2.5.so
00802000 4 0 0 ----- libpthread-2.5.so
00803000 4 4 0 r---- libpthread-2.5.so
00804000 4 4 0 rw--- libpthread-2.5.so
00805000 8 0 0 rw--- [ anon ]
009f4000 4 4 0 r-x-- [ anon ]
08048000 308 176 0 r-x-- redis-server
08095000 8 8 8 rw--- redis-server
08097000 40 8 4 rw--- [ anon ]
08a62000 132 4 4 rw--- [ anon ]
b5bfe000 4 0 0 ----- [ anon ]
b5bff000 10240 0 0 rw--- [ anon ]
b65ff000 4 0 0 ----- [ anon ]
b6600000 14336 208 204 rw--- [ anon ]
b7800000 4096 4 4 rw--- [ anon ]
b7f26000 8 4 4 rw--- [ anon ]
bfb53000 84 24 20 rw--- [ stack ]
-------- ------- ------- ------- -------
total kB 31056 - - -
@sonots
Copy link
Author

sonots commented Aug 15, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment