pmap工具是linux的工具,能够查看进程用了多少内存,还能分析内存用在上面环节,对于一些长期占用内存居高不下的程序可以分析其行为,命令简单,信息简洁。
- Linux - 内存分析工具pmap
# 使用简介
[root@pdai-centos ~]# pmap -h
Usage:
pmap [options] PID [PID ...]
Options:
-x, --extended show details
-X show even more details
WARNING: format changes according to /proc/PID/smaps
-XX show everything the kernel provides
-c, --read-rc read the default rc
-C, --read-rc-from=<file> read the rc from file
-n, --create-rc create new default rc
-N, --create-rc-to=<file> create new rc to file
NOTE: pid arguments are not allowed with -n, -N
-d, --device show the device format
-q, --quiet do not display header and footer
-p, --show-path show path in the mapping
-A, --range=<low>[,<high>] limit results to the given range
-h, --help display this help and exit
-V, --version output version information and exit
For more details see pmap(1).
# 示例
返回列说明。
- Address: 内存开始地址
- Kbytes: 占用内存的字节数(KB)
- RSS: 保留内存的字节数(KB)
- Dirty: 脏页的字节数(包括共享和私有的)(KB)
- Mode: 内存的权限:read、write、execute、shared、private (写时复制)
- Mapping: 占用内存的文件、或[anon](分配的内存)、或[stack](堆栈)
- Offset: 文件偏移
- Device: 设备名 (major:minor)
# 示例 ‘pmap -d 30242’
查找进程id
[root@pdai-centos ~]# top
top - 15:31:56 up 115 days, 5:34, 1 user, load average: 0.05, 0.03, 0.05
Tasks: 82 total, 1 running, 81 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.5 us, 0.5 sy, 0.0 ni, 98.8 id, 0.2 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 3880948 total, 1491616 free, 197496 used, 2191836 buff/cache
KiB Swap: 4194300 total, 4031436 free, 162864 used. 3357968 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
30242 root 20 0 1137252 82100 11936 S 0.7 2.1 1115:13 YDService
5586 root 20 0 161876 2228 1560 R 0.3 0.1 0:00.01 top
展示进程内存 - 设备信息
[root@pdai-centos ~]# pmap -d 30242
30242: /usr/local/qcloud/YunJing/YDEyes/YDService
Address Kbytes Mode Offset Device Mapping
0000000000400000 19416 r-x-- 0000000000000000 0fd:00001 YDService
00000000018f5000 6520 rw--- 00000000012f5000 0fd:00001 YDService
0000000001f53000 540 rw--- 0000000000000000 000:00000 [ anon ]
0000000002206000 181088 rw--- 0000000000000000 000:00000 [ anon ]
000000c000000000 65536 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d4445000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d4446000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d4c46000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d4c47000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d5447000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d5448000 8448 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d5c88000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d5c89000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d6489000 4096 rw-s- 0000000000000000 000:00007 [ anon ]
00007f42d6889000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d688a000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d708a000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d708b000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d788b000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d788c000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d808c000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d808d000 8448 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d88cd000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d88ce000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d90ce000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d90cf000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d98cf000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d98d0000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42da0d0000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42da0d1000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42da8d1000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42da8d2000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42db0d2000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42db0d3000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42db8d3000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42db8d4000 8448 rw--- 0000000000000000 000:00000 [ anon ]
00007f42dc114000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42dc115000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42dc915000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42dc916000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42dd116000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42dd117000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42dd917000 88 r-x-- 0000000000000000 0fd:00001 libresolv-2.17.so
00007f42dd92d000 2044 ----- 0000000000016000 0fd:00001 libresolv-2.17.so
00007f42ddb2c000 4 r---- 0000000000015000 0fd:00001 libresolv-2.17.so
00007f42ddb2d000 4 rw--- 0000000000016000 0fd:00001 libresolv-2.17.so
00007f42ddb2e000 8 rw--- 0000000000000000 000:00000 [ anon ]
00007f42ddb30000 20 r-x-- 0000000000000000 0fd:00001 libnss_dns-2.17.so
00007f42ddb35000 2048 ----- 0000000000005000 0fd:00001 libnss_dns-2.17.so
00007f42ddd35000 4 r---- 0000000000005000 0fd:00001 libnss_dns-2.17.so
00007f42ddd36000 4 rw--- 0000000000006000 0fd:00001 libnss_dns-2.17.so
00007f42ddd37000 48 r-x-- 0000000000000000 0fd:00001 libnss_files-2.17.so
00007f42ddd43000 2044 ----- 000000000000c000 0fd:00001 libnss_files-2.17.so
00007f42ddf42000 4 r---- 000000000000b000 0fd:00001 libnss_files-2.17.so
00007f42ddf43000 4 rw--- 000000000000c000 0fd:00001 libnss_files-2.17.so
00007f42ddf44000 1432 rw--- 0000000000000000 000:00000 [ anon ]
00007f42de0aa000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42de0ab000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42de8ab000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42de8ac000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42df0ac000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42df0ad000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42df8ad000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42df8ae000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42e00ae000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42e00af000 44100 rw--- 0000000000000000 000:00000 [ anon ]
00007f42e2bc0000 263680 ----- 0000000000000000 000:00000 [ anon ]
00007f42f2d40000 4 rw--- 0000000000000000 000:00000 [ anon ]
00007f42f2d41000 293564 ----- 0000000000000000 000:00000 [ anon ]
00007f4304bf0000 4 rw--- 0000000000000000 000:00000 [ anon ]
00007f4304bf1000 36692 ----- 0000000000000000 000:00000 [ anon ]
00007f4306fc6000 4 rw--- 0000000000000000 000:00000 [ anon ]
00007f4306fc7000 4068 ----- 0000000000000000 000:00000 [ anon ]
00007f43073c0000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f43073c1000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f4307bc1000 1800 r-x-- 0000000000000000 0fd:00001 libc-2.17.so
00007f4307d83000 2048 ----- 00000000001c2000 0fd:00001 libc-2.17.so
00007f4307f83000 16 r---- 00000000001c2000 0fd:00001 libc-2.17.so
00007f4307f87000 8 rw--- 00000000001c6000 0fd:00001 libc-2.17.so
00007f4307f89000 20 rw--- 0000000000000000 000:00000 [ anon ]
00007f4307f8e000 84 r-x-- 0000000000000000 0fd:00001 libgcc_s-4.8.5-20150702.so.1
00007f4307fa3000 2044 ----- 0000000000015000 0fd:00001 libgcc_s-4.8.5-20150702.so.1
00007f43081a2000 4 r---- 0000000000014000 0fd:00001 libgcc_s-4.8.5-20150702.so.1
00007f43081a3000 4 rw--- 0000000000015000 0fd:00001 libgcc_s-4.8.5-20150702.so.1
00007f43081a4000 1028 r-x-- 0000000000000000 0fd:00001 libm-2.17.so
00007f43082a5000 2044 ----- 0000000000101000 0fd:00001 libm-2.17.so
00007f43084a4000 4 r---- 0000000000100000 0fd:00001 libm-2.17.so
00007f43084a5000 4 rw--- 0000000000101000 0fd:00001 libm-2.17.so
00007f43084a6000 932 r-x-- 0000000000000000 0fd:00001 libstdc++.so.6.0.19
00007f430858f000 2048 ----- 00000000000e9000 0fd:00001 libstdc++.so.6.0.19
00007f430878f000 32 r---- 00000000000e9000 0fd:00001 libstdc++.so.6.0.19
00007f4308797000 8 rw--- 00000000000f1000 0fd:00001 libstdc++.so.6.0.19
00007f4308799000 84 rw--- 0000000000000000 000:00000 [ anon ]
00007f43087ae000 92 r-x-- 0000000000000000 0fd:00001 libpthread-2.17.so
00007f43087c5000 2044 ----- 0000000000017000 0fd:00001 libpthread-2.17.so
00007f43089c4000 4 r---- 0000000000016000 0fd:00001 libpthread-2.17.so
00007f43089c5000 4 rw--- 0000000000017000 0fd:00001 libpthread-2.17.so
00007f43089c6000 16 rw--- 0000000000000000 000:00000 [ anon ]
00007f43089ca000 28 r-x-- 0000000000000000 0fd:00001 librt-2.17.so
00007f43089d1000 2044 ----- 0000000000007000 0fd:00001 librt-2.17.so
00007f4308bd0000 4 r---- 0000000000006000 0fd:00001 librt-2.17.so
00007f4308bd1000 4 rw--- 0000000000007000 0fd:00001 librt-2.17.so
00007f4308bd2000 8 r-x-- 0000000000000000 0fd:00001 libdl-2.17.so
00007f4308bd4000 2048 ----- 0000000000002000 0fd:00001 libdl-2.17.so
00007f4308dd4000 4 r---- 0000000000002000 0fd:00001 libdl-2.17.so
00007f4308dd5000 4 rw--- 0000000000003000 0fd:00001 libdl-2.17.so
00007f4308dd6000 136 r-x-- 0000000000000000 0fd:00001 ld-2.17.so
00007f4308e08000 512 rw--- 0000000000000000 000:00000 [ anon ]
00007f4308e88000 512 ----- 0000000000000000 000:00000 [ anon ]
00007f4308f08000 4 rw--- 0000000000000000 000:00000 [ anon ]
00007f4308f09000 508 ----- 0000000000000000 000:00000 [ anon ]
00007f4308f88000 408 rw--- 0000000000000000 000:00000 [ anon ]
00007f4308ff4000 12 rw--- 0000000000000000 000:00000 [ anon ]
00007f4308ff7000 4 r---- 0000000000021000 0fd:00001 ld-2.17.so
00007f4308ff8000 4 rw--- 0000000000022000 0fd:00001 ld-2.17.so
00007f4308ff9000 4 rw--- 0000000000000000 000:00000 [ anon ]
00007ffeb9da0000 276 rw--- 0000000000000000 000:00000 [ stack ]
00007ffeb9df1000 8 r-x-- 0000000000000000 000:00000 [ anon ]
ffffffffff600000 4 r-x-- 0000000000000000 000:00000 [ anon ]
mapped: 1137256K writeable/private: 489808K shared: 4096K
最后一行的值
mapped
表示该进程映射的虚拟地址空间大小,也就是该进程预先分配的虚拟内存大小,即ps出的vszwriteable/private
表示进程所占用的私有地址空间大小,也就是该进程实际使用的内存大小shared
表示进程和其他进程共享的内存大小
不显示头尾行, 加 ‘-d’参数
[root@pdai-centos ~]# pmap -d -q 30242
30242: /usr/local/qcloud/YunJing/YDEyes/YDService
0000000000400000 19416 r-x-- 0000000000000000 0fd:00001 YDService
00000000018f5000 6520 rw--- 00000000012f5000 0fd:00001 YDService
0000000001f53000 540 rw--- 0000000000000000 000:00000 [ anon ]
0000000002206000 181088 rw--- 0000000000000000 000:00000 [ anon ]
000000c000000000 65536 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d4445000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d4446000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d4c46000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d4c47000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d5447000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d5448000 8448 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d5c88000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d5c89000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d6489000 4096 rw-s- 0000000000000000 000:00007 [ anon ]
00007f42d6889000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d688a000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d708a000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d708b000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d788b000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d788c000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d808c000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d808d000 8448 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d88cd000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d88ce000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d90ce000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d90cf000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42d98cf000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42d98d0000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42da0d0000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42da0d1000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42da8d1000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42da8d2000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42db0d2000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42db0d3000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42db8d3000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42db8d4000 8448 rw--- 0000000000000000 000:00000 [ anon ]
00007f42dc114000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42dc115000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42dc915000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42dc916000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42dd116000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42dd117000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42dd917000 88 r-x-- 0000000000000000 0fd:00001 libresolv-2.17.so
00007f42dd92d000 2044 ----- 0000000000016000 0fd:00001 libresolv-2.17.so
00007f42ddb2c000 4 r---- 0000000000015000 0fd:00001 libresolv-2.17.so
00007f42ddb2d000 4 rw--- 0000000000016000 0fd:00001 libresolv-2.17.so
00007f42ddb2e000 8 rw--- 0000000000000000 000:00000 [ anon ]
00007f42ddb30000 20 r-x-- 0000000000000000 0fd:00001 libnss_dns-2.17.so
00007f42ddb35000 2048 ----- 0000000000005000 0fd:00001 libnss_dns-2.17.so
00007f42ddd35000 4 r---- 0000000000005000 0fd:00001 libnss_dns-2.17.so
00007f42ddd36000 4 rw--- 0000000000006000 0fd:00001 libnss_dns-2.17.so
00007f42ddd37000 48 r-x-- 0000000000000000 0fd:00001 libnss_files-2.17.so
00007f42ddd43000 2044 ----- 000000000000c000 0fd:00001 libnss_files-2.17.so
00007f42ddf42000 4 r---- 000000000000b000 0fd:00001 libnss_files-2.17.so
00007f42ddf43000 4 rw--- 000000000000c000 0fd:00001 libnss_files-2.17.so
00007f42ddf44000 1432 rw--- 0000000000000000 000:00000 [ anon ]
00007f42de0aa000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42de0ab000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42de8ab000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42de8ac000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42df0ac000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42df0ad000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42df8ad000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42df8ae000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f42e00ae000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f42e00af000 44100 rw--- 0000000000000000 000:00000 [ anon ]
00007f42e2bc0000 263680 ----- 0000000000000000 000:00000 [ anon ]
00007f42f2d40000 4 rw--- 0000000000000000 000:00000 [ anon ]
00007f42f2d41000 293564 ----- 0000000000000000 000:00000 [ anon ]
00007f4304bf0000 4 rw--- 0000000000000000 000:00000 [ anon ]
00007f4304bf1000 36692 ----- 0000000000000000 000:00000 [ anon ]
00007f4306fc6000 4 rw--- 0000000000000000 000:00000 [ anon ]
00007f4306fc7000 4068 ----- 0000000000000000 000:00000 [ anon ]
00007f43073c0000 4 ----- 0000000000000000 000:00000 [ anon ]
00007f43073c1000 8192 rw--- 0000000000000000 000:00000 [ anon ]
00007f4307bc1000 1800 r-x-- 0000000000000000 0fd:00001 libc-2.17.so
00007f4307d83000 2048 ----- 00000000001c2000 0fd:00001 libc-2.17.so
00007f4307f83000 16 r---- 00000000001c2000 0fd:00001 libc-2.17.so
00007f4307f87000 8 rw--- 00000000001c6000 0fd:00001 libc-2.17.so
00007f4307f89000 20 rw--- 0000000000000000 000:00000 [ anon ]
00007f4307f8e000 84 r-x-- 0000000000000000 0fd:00001 libgcc_s-4.8.5-20150702.so.1
00007f4307fa3000 2044 ----- 0000000000015000 0fd:00001 libgcc_s-4.8.5-20150702.so.1
00007f43081a2000 4 r---- 0000000000014000 0fd:00001 libgcc_s-4.8.5-20150702.so.1
00007f43081a3000 4 rw--- 0000000000015000 0fd:00001 libgcc_s-4.8.5-20150702.so.1
00007f43081a4000 1028 r-x-- 0000000000000000 0fd:00001 libm-2.17.so
00007f43082a5000 2044 ----- 0000000000101000 0fd:00001 libm-2.17.so
00007f43084a4000 4 r---- 0000000000100000 0fd:00001 libm-2.17.so
00007f43084a5000 4 rw--- 0000000000101000 0fd:00001 libm-2.17.so
00007f43084a6000 932 r-x-- 0000000000000000 0fd:00001 libstdc++.so.6.0.19
00007f430858f000 2048 ----- 00000000000e9000 0fd:00001 libstdc++.so.6.0.19
00007f430878f000 32 r---- 00000000000e9000 0fd:00001 libstdc++.so.6.0.19
00007f4308797000 8 rw--- 00000000000f1000 0fd:00001 libstdc++.so.6.0.19
00007f4308799000 84 rw--- 0000000000000000 000:00000 [ anon ]
00007f43087ae000 92 r-x-- 0000000000000000 0fd:00001 libpthread-2.17.so
00007f43087c5000 2044 ----- 0000000000017000 0fd:00001 libpthread-2.17.so
00007f43089c4000 4 r---- 0000000000016000 0fd:00001 libpthread-2.17.so
00007f43089c5000 4 rw--- 0000000000017000 0fd:00001 libpthread-2.17.so
00007f43089c6000 16 rw--- 0000000000000000 000:00000 [ anon ]
00007f43089ca000 28 r-x-- 0000000000000000 0fd:00001 librt-2.17.so
00007f43089d1000 2044 ----- 0000000000007000 0fd:00001 librt-2.17.so
00007f4308bd0000 4 r---- 0000000000006000 0fd:00001 librt-2.17.so
00007f4308bd1000 4 rw--- 0000000000007000 0fd:00001 librt-2.17.so
00007f4308bd2000 8 r-x-- 0000000000000000 0fd:00001 libdl-2.17.so
00007f4308bd4000 2048 ----- 0000000000002000 0fd:00001 libdl-2.17.so
00007f4308dd4000 4 r---- 0000000000002000 0fd:00001 libdl-2.17.so
00007f4308dd5000 4 rw--- 0000000000003000 0fd:00001 libdl-2.17.so
00007f4308dd6000 136 r-x-- 0000000000000000 0fd:00001 ld-2.17.so
00007f4308e08000 512 rw--- 0000000000000000 000:00000 [ anon ]
00007f4308e88000 512 ----- 0000000000000000 000:00000 [ anon ]
00007f4308f08000 4 rw--- 0000000000000000 000:00000 [ anon ]
00007f4308f09000 508 ----- 0000000000000000 000:00000 [ anon ]
00007f4308f88000 408 rw--- 0000000000000000 000:00000 [ anon ]
00007f4308ff4000 12 rw--- 0000000000000000 000:00000 [ anon ]
00007f4308ff7000 4 r---- 0000000000021000 0fd:00001 ld-2.17.so
00007f4308ff8000 4 rw--- 0000000000022000 0fd:00001 ld-2.17.so
00007f4308ff9000 4 rw--- 0000000000000000 000:00000 [ anon ]
00007ffeb9da0000 276 rw--- 0000000000000000 000:00000 [ stack ]
00007ffeb9df1000 8 r-x-- 0000000000000000 000:00000 [ anon ]
ffffffffff600000 4 r-x-- 0000000000000000 000:00000 [ anon ]
Linux的思想是一切皆文件,那么进程对应的内存也是保存在文件系统中的,虽然/proc目录是一个伪文件系统; 该文件从/proc/pid/maps中获得数据。
[root@pdai-centos ~]# cat /proc/30242/maps
00400000-016f6000 r-xp 00000000 fd:01 545991 /usr/local/qcloud/YunJing/YDEyes/YDService
018f5000-01f53000 rw-p 012f5000 fd:01 545991 /usr/local/qcloud/YunJing/YDEyes/YDService
01f53000-01fda000 rw-p 00000000 00:00 0
02206000-0d2de000 rw-p 00000000 00:00 0 [heap]
c000000000-c004000000 rw-p 00000000 00:00 0
7f42d4445000-7f42d4446000 ---p 00000000 00:00 0
7f42d4446000-7f42d4c46000 rw-p 00000000 00:00 0
7f42d4c46000-7f42d4c47000 ---p 00000000 00:00 0
7f42d4c47000-7f42d5447000 rw-p 00000000 00:00 0
7f42d5447000-7f42d5448000 ---p 00000000 00:00 0
7f42d5448000-7f42d5c88000 rw-p 00000000 00:00 0
7f42d5c88000-7f42d5c89000 ---p 00000000 00:00 0
7f42d5c89000-7f42d6489000 rw-p 00000000 00:00 0
7f42d6489000-7f42d6889000 rw-s 00000000 00:07 34628688 socket:[34628688]
7f42d6889000-7f42d688a000 ---p 00000000 00:00 0
7f42d688a000-7f42d708a000 rw-p 00000000 00:00 0
7f42d708a000-7f42d708b000 ---p 00000000 00:00 0
7f42d708b000-7f42d788b000 rw-p 00000000 00:00 0
7f42d788b000-7f42d788c000 ---p 00000000 00:00 0
7f42d788c000-7f42d808c000 rw-p 00000000 00:00 0
7f42d808c000-7f42d808d000 ---p 00000000 00:00 0
7f42d808d000-7f42d88cd000 rw-p 00000000 00:00 0
7f42d88cd000-7f42d88ce000 ---p 00000000 00:00 0
7f42d88ce000-7f42d90ce000 rw-p 00000000 00:00 0
7f42d90ce000-7f42d90cf000 ---p 00000000 00:00 0
7f42d90cf000-7f42d98cf000 rw-p 00000000 00:00 0
7f42d98cf000-7f42d98d0000 ---p 00000000 00:00 0
7f42d98d0000-7f42da0d0000 rw-p 00000000 00:00 0
7f42da0d0000-7f42da0d1000 ---p 00000000 00:00 0
7f42da0d1000-7f42da8d1000 rw-p 00000000 00:00 0
7f42da8d1000-7f42da8d2000 ---p 00000000 00:00 0
7f42da8d2000-7f42db0d2000 rw-p 00000000 00:00 0
7f42db0d2000-7f42db0d3000 ---p 00000000 00:00 0
7f42db0d3000-7f42db8d3000 rw-p 00000000 00:00 0
7f42db8d3000-7f42db8d4000 ---p 00000000 00:00 0
7f42db8d4000-7f42dc114000 rw-p 00000000 00:00 0
7f42dc114000-7f42dc115000 ---p 00000000 00:00 0
7f42dc115000-7f42dc915000 rw-p 00000000 00:00 0
7f42dc915000-7f42dc916000 ---p 00000000 00:00 0
7f42dc916000-7f42dd116000 rw-p 00000000 00:00 0
7f42dd116000-7f42dd117000 ---p 00000000 00:00 0
7f42dd117000-7f42dd917000 rw-p 00000000 00:00 0
7f42dd917000-7f42dd92d000 r-xp 00000000 fd:01 265652 /usr/lib64/libresolv-2.17.so
7f42dd92d000-7f42ddb2c000 ---p 00016000 fd:01 265652 /usr/lib64/libresolv-2.17.so
7f42ddb2c000-7f42ddb2d000 r--p 00015000 fd:01 265652 /usr/lib64/libresolv-2.17.so
7f42ddb2d000-7f42ddb2e000 rw-p 00016000 fd:01 265652 /usr/lib64/libresolv-2.17.so
7f42ddb2e000-7f42ddb30000 rw-p 00000000 00:00 0
7f42ddb30000-7f42ddb35000 r-xp 00000000 fd:01 265640 /usr/lib64/libnss_dns-2.17.so
7f42ddb35000-7f42ddd35000 ---p 00005000 fd:01 265640 /usr/lib64/libnss_dns-2.17.so
7f42ddd35000-7f42ddd36000 r--p 00005000 fd:01 265640 /usr/lib64/libnss_dns-2.17.so
7f42ddd36000-7f42ddd37000 rw-p 00006000 fd:01 265640 /usr/lib64/libnss_dns-2.17.so
7f42ddd37000-7f42ddd43000 r-xp 00000000 fd:01 265642 /usr/lib64/libnss_files-2.17.so
7f42ddd43000-7f42ddf42000 ---p 0000c000 fd:01 265642 /usr/lib64/libnss_files-2.17.so
7f42ddf42000-7f42ddf43000 r--p 0000b000 fd:01 265642 /usr/lib64/libnss_files-2.17.so
7f42ddf43000-7f42ddf44000 rw-p 0000c000 fd:01 265642 /usr/lib64/libnss_files-2.17.so
7f42ddf44000-7f42de0aa000 rw-p 00000000 00:00 0
7f42de0aa000-7f42de0ab000 ---p 00000000 00:00 0
7f42de0ab000-7f42de8ab000 rw-p 00000000 00:00 0
7f42de8ab000-7f42de8ac000 ---p 00000000 00:00 0
7f42de8ac000-7f42df0ac000 rw-p 00000000 00:00 0
7f42df0ac000-7f42df0ad000 ---p 00000000 00:00 0
7f42df0ad000-7f42df8ad000 rw-p 00000000 00:00 0
7f42df8ad000-7f42df8ae000 ---p 00000000 00:00 0
7f42df8ae000-7f42e00ae000 rw-p 00000000 00:00 0
7f42e00ae000-7f42e00af000 ---p 00000000 00:00 0
7f42e00af000-7f42e2bc0000 rw-p 00000000 00:00 0
7f42e2bc0000-7f42f2d40000 ---p 00000000 00:00 0
7f42f2d40000-7f42f2d41000 rw-p 00000000 00:00 0
7f42f2d41000-7f4304bf0000 ---p 00000000 00:00 0
7f4304bf0000-7f4304bf1000 rw-p 00000000 00:00 0
7f4304bf1000-7f4306fc6000 ---p 00000000 00:00 0
7f4306fc6000-7f4306fc7000 rw-p 00000000 00:00 0
7f4306fc7000-7f43073c0000 ---p 00000000 00:00 0
7f43073c0000-7f43073c1000 ---p 00000000 00:00 0
7f43073c1000-7f4307bc1000 rw-p 00000000 00:00 0
7f4307bc1000-7f4307d83000 r-xp 00000000 fd:01 265624 /usr/lib64/libc-2.17.so
7f4307d83000-7f4307f83000 ---p 001c2000 fd:01 265624 /usr/lib64/libc-2.17.so
7f4307f83000-7f4307f87000 r--p 001c2000 fd:01 265624 /usr/lib64/libc-2.17.so
7f4307f87000-7f4307f89000 rw-p 001c6000 fd:01 265624 /usr/lib64/libc-2.17.so
7f4307f89000-7f4307f8e000 rw-p 00000000 00:00 0
7f4307f8e000-7f4307fa3000 r-xp 00000000 fd:01 266389 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f4307fa3000-7f43081a2000 ---p 00015000 fd:01 266389 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f43081a2000-7f43081a3000 r--p 00014000 fd:01 266389 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f43081a3000-7f43081a4000 rw-p 00015000 fd:01 266389 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f43081a4000-7f43082a5000 r-xp 00000000 fd:01 265632 /usr/lib64/libm-2.17.so
7f43082a5000-7f43084a4000 ---p 00101000 fd:01 265632 /usr/lib64/libm-2.17.so
7f43084a4000-7f43084a5000 r--p 00100000 fd:01 265632 /usr/lib64/libm-2.17.so
7f43084a5000-7f43084a6000 rw-p 00101000 fd:01 265632 /usr/lib64/libm-2.17.so
7f43084a6000-7f430858f000 r-xp 00000000 fd:01 265950 /usr/lib64/libstdc++.so.6.0.19
7f430858f000-7f430878f000 ---p 000e9000 fd:01 265950 /usr/lib64/libstdc++.so.6.0.19
7f430878f000-7f4308797000 r--p 000e9000 fd:01 265950 /usr/lib64/libstdc++.so.6.0.19
7f4308797000-7f4308799000 rw-p 000f1000 fd:01 265950 /usr/lib64/libstdc++.so.6.0.19
7f4308799000-7f43087ae000 rw-p 00000000 00:00 0
7f43087ae000-7f43087c5000 r-xp 00000000 fd:01 265650 /usr/lib64/libpthread-2.17.so
7f43087c5000-7f43089c4000 ---p 00017000 fd:01 265650 /usr/lib64/libpthread-2.17.so
7f43089c4000-7f43089c5000 r--p 00016000 fd:01 265650 /usr/lib64/libpthread-2.17.so
7f43089c5000-7f43089c6000 rw-p 00017000 fd:01 265650 /usr/lib64/libpthread-2.17.so
7f43089c6000-7f43089ca000 rw-p 00000000 00:00 0
7f43089ca000-7f43089d1000 r-xp 00000000 fd:01 265654 /usr/lib64/librt-2.17.so
7f43089d1000-7f4308bd0000 ---p 00007000 fd:01 265654 /usr/lib64/librt-2.17.so
7f4308bd0000-7f4308bd1000 r--p 00006000 fd:01 265654 /usr/lib64/librt-2.17.so
7f4308bd1000-7f4308bd2000 rw-p 00007000 fd:01 265654 /usr/lib64/librt-2.17.so
7f4308bd2000-7f4308bd4000 r-xp 00000000 fd:01 265630 /usr/lib64/libdl-2.17.so
7f4308bd4000-7f4308dd4000 ---p 00002000 fd:01 265630 /usr/lib64/libdl-2.17.so
7f4308dd4000-7f4308dd5000 r--p 00002000 fd:01 265630 /usr/lib64/libdl-2.17.so
7f4308dd5000-7f4308dd6000 rw-p 00003000 fd:01 265630 /usr/lib64/libdl-2.17.so
7f4308dd6000-7f4308df8000 r-xp 00000000 fd:01 265617 /usr/lib64/ld-2.17.so
7f4308e08000-7f4308e88000 rw-p 00000000 00:00 0
7f4308e88000-7f4308f08000 ---p 00000000 00:00 0
7f4308f08000-7f4308f09000 rw-p 00000000 00:00 0
7f4308f09000-7f4308f88000 ---p 00000000 00:00 0
7f4308f88000-7f4308fee000 rw-p 00000000 00:00 0
7f4308ff4000-7f4308ff7000 rw-p 00000000 00:00 0
7f4308ff7000-7f4308ff8000 r--p 00021000 fd:01 265617 /usr/lib64/ld-2.17.so
7f4308ff8000-7f4308ff9000 rw-p 00022000 fd:01 265617 /usr/lib64/ld-2.17.so
7f4308ff9000-7f4308ffa000 rw-p 00000000 00:00 0
7ffeb9da0000-7ffeb9de5000 rw-p 00000000 00:00 0 [stack]
7ffeb9df1000-7ffeb9df3000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
# 示例 ‘pmap -x 30242’
展示进程内存 - 拓展信息
[root@pdai-centos ~]# pmap -x 30242
30242: /usr/local/qcloud/YunJing/YDEyes/YDService
Address Kbytes RSS Dirty Mode Mapping
0000000000400000 19416 4964 0 r-x-- YDService # YDService 代码段
00000000018f5000 6520 2252 112 rw--- YDService # YDService 数据段
0000000001f53000 540 220 220 rw--- [ anon ]
0000000002206000 181088 62384 61208 rw--- [ anon ] # YDService 堆(分配的内存)
000000c000000000 65536 3780 3760 rw--- [ anon ]
00007f42d4445000 4 0 0 ----- [ anon ]
00007f42d4446000 8192 20 20 rw--- [ anon ]
00007f42d4c46000 4 0 0 ----- [ anon ]
00007f42d4c47000 8192 12 12 rw--- [ anon ]
00007f42d5447000 4 0 0 ----- [ anon ]
00007f42d5448000 8448 88 88 rw--- [ anon ]
00007f42d5c88000 4 0 0 ----- [ anon ]
00007f42d5c89000 8192 32 32 rw--- [ anon ]
00007f42d6489000 4096 4096 1024 rw-s- [ anon ]
00007f42d6889000 4 0 0 ----- [ anon ]
00007f42d688a000 8192 20 20 rw--- [ anon ]
00007f42d708a000 4 0 0 ----- [ anon ]
00007f42d708b000 8192 16 16 rw--- [ anon ]
00007f42d788b000 4 0 0 ----- [ anon ]
00007f42d788c000 8192 16 16 rw--- [ anon ]
00007f42d808c000 4 0 0 ----- [ anon ]
00007f42d808d000 8448 68 68 rw--- [ anon ]
00007f42d88cd000 4 0 0 ----- [ anon ]
00007f42d88ce000 8192 32 32 rw--- [ anon ]
00007f42d90ce000 4 0 0 ----- [ anon ]
00007f42d90cf000 8192 32 32 rw--- [ anon ]
00007f42d98cf000 4 0 0 ----- [ anon ]
00007f42d98d0000 8192 0 0 rw--- [ anon ]
00007f42da0d0000 4 0 0 ----- [ anon ]
00007f42da0d1000 8192 0 0 rw--- [ anon ]
00007f42da8d1000 4 0 0 ----- [ anon ]
00007f42da8d2000 8192 32 32 rw--- [ anon ]
00007f42db0d2000 4 0 0 ----- [ anon ]
00007f42db0d3000 8192 32 32 rw--- [ anon ]
00007f42db8d3000 4 0 0 ----- [ anon ]
00007f42db8d4000 8448 156 156 rw--- [ anon ]
00007f42dc114000 4 0 0 ----- [ anon ]
00007f42dc115000 8192 20 20 rw--- [ anon ]
00007f42dc915000 4 0 0 ----- [ anon ]
00007f42dc916000 8192 16 16 rw--- [ anon ]
00007f42dd116000 4 0 0 ----- [ anon ]
00007f42dd117000 8192 12 12 rw--- [ anon ]
00007f42dd917000 88 32 0 r-x-- libresolv-2.17.so
00007f42dd92d000 2044 0 0 ----- libresolv-2.17.so
00007f42ddb2c000 4 4 4 r---- libresolv-2.17.so
00007f42ddb2d000 4 4 4 rw--- libresolv-2.17.so
00007f42ddb2e000 8 0 0 rw--- [ anon ]
00007f42ddb30000 20 12 0 r-x-- libnss_dns-2.17.so
00007f42ddb35000 2048 0 0 ----- libnss_dns-2.17.so
00007f42ddd35000 4 4 4 r---- libnss_dns-2.17.so
00007f42ddd36000 4 4 4 rw--- libnss_dns-2.17.so
00007f42ddd37000 48 20 0 r-x-- libnss_files-2.17.so
00007f42ddd43000 2044 0 0 ----- libnss_files-2.17.so
00007f42ddf42000 4 4 4 r---- libnss_files-2.17.so
00007f42ddf43000 4 4 4 rw--- libnss_files-2.17.so
00007f42ddf44000 1432 356 32 rw--- [ anon ]
00007f42de0aa000 4 0 0 ----- [ anon ]
00007f42de0ab000 8192 0 0 rw--- [ anon ]
00007f42de8ab000 4 0 0 ----- [ anon ]
00007f42de8ac000 8192 8 8 rw--- [ anon ]
00007f42df0ac000 4 0 0 ----- [ anon ]
00007f42df0ad000 8192 8 8 rw--- [ anon ]
00007f42df8ad000 4 0 0 ----- [ anon ]
00007f42df8ae000 8192 28 28 rw--- [ anon ]
00007f42e00ae000 4 0 0 ----- [ anon ]
00007f42e00af000 44100 2376 2376 rw--- [ anon ]
00007f42e2bc0000 263680 0 0 ----- [ anon ]
00007f42f2d40000 4 4 4 rw--- [ anon ]
00007f42f2d41000 293564 0 0 ----- [ anon ]
00007f4304bf0000 4 4 4 rw--- [ anon ]
00007f4304bf1000 36692 0 0 ----- [ anon ]
00007f4306fc6000 4 4 4 rw--- [ anon ]
00007f4306fc7000 4068 0 0 ----- [ anon ]
00007f43073c0000 4 0 0 ----- [ anon ]
00007f43073c1000 8192 32 32 rw--- [ anon ]
00007f4307bc1000 1800 580 0 r-x-- libc-2.17.so
00007f4307d83000 2048 0 0 ----- libc-2.17.so
00007f4307f83000 16 16 12 r---- libc-2.17.so
00007f4307f87000 8 8 8 rw--- libc-2.17.so
00007f4307f89000 20 20 20 rw--- [ anon ]
00007f4307f8e000 84 0 0 r-x-- libgcc_s-4.8.5-20150702.so.1
00007f4307fa3000 2044 0 0 ----- libgcc_s-4.8.5-20150702.so.1
00007f43081a2000 4 0 0 r---- libgcc_s-4.8.5-20150702.so.1
00007f43081a3000 4 0 0 rw--- libgcc_s-4.8.5-20150702.so.1
00007f43081a4000 1028 0 0 r-x-- libm-2.17.so
00007f43082a5000 2044 0 0 ----- libm-2.17.so
00007f43084a4000 4 0 0 r---- libm-2.17.so
00007f43084a5000 4 0 0 rw--- libm-2.17.so
00007f43084a6000 932 156 0 r-x-- libstdc++.so.6.0.19
00007f430858f000 2048 0 0 ----- libstdc++.so.6.0.19
00007f430878f000 32 20 16 r---- libstdc++.so.6.0.19
00007f4308797000 8 8 8 rw--- libstdc++.so.6.0.19
00007f4308799000 84 12 12 rw--- [ anon ]
00007f43087ae000 92 44 0 r-x-- libpthread-2.17.so
00007f43087c5000 2044 0 0 ----- libpthread-2.17.so
00007f43089c4000 4 4 4 r---- libpthread-2.17.so
00007f43089c5000 4 4 4 rw--- libpthread-2.17.so
00007f43089c6000 16 4 4 rw--- [ anon ]
00007f43089ca000 28 0 0 r-x-- librt-2.17.so
00007f43089d1000 2044 0 0 ----- librt-2.17.so
00007f4308bd0000 4 0 0 r---- librt-2.17.so
00007f4308bd1000 4 0 0 rw--- librt-2.17.so
00007f4308bd2000 8 0 0 r-x-- libdl-2.17.so
00007f4308bd4000 2048 0 0 ----- libdl-2.17.so
00007f4308dd4000 4 0 0 r---- libdl-2.17.so
00007f4308dd5000 4 0 0 rw--- libdl-2.17.so
00007f4308dd6000 136 8 0 r-x-- ld-2.17.so
00007f4308e08000 512 328 328 rw--- [ anon ]
00007f4308e88000 512 0 0 ----- [ anon ]
00007f4308f08000 4 4 4 rw--- [ anon ]
00007f4308f09000 508 0 0 ----- [ anon ]
00007f4308f88000 408 60 48 rw--- [ anon ]
00007f4308ff4000 12 8 8 rw--- [ anon ]
00007f4308ff7000 4 4 4 r---- ld-2.17.so
00007f4308ff8000 4 4 4 rw--- ld-2.17.so
00007f4308ff9000 4 4 0 rw--- [ anon ]
00007ffeb9da0000 276 28 28 rw--- [ stack ]
00007ffeb9df1000 8 4 0 r-x-- [ anon ]
ffffffffff600000 4 0 0 r-x-- [ anon ]
---------------- ------- ------- -------
total kB 1137256 82536 69960
# 示例 ‘pmap -XX 30242’
展示进程内存 - 所有信息
[root@pdai-centos ~]# pmap -XX 30242
30242: /usr/local/qcloud/YunJing/YDEyes/YDService
Address Perm Offset Device Inode Size Rss Pss Shared_Clean Shared_Dirty Private_Clean Private_Dirty Referenced Anonymous AnonHugePages Swap KernelPageSize MMUPageSize Locked VmFlagsMapping
00400000 r-xp 00000000 fd:01 545991 19416 4964 4964 0 0 4964 0 4964 0 0 0 4 4 0 rd ex mr mw me dw sd YDService
018f5000 rw-p 012f5000 fd:01 545991 6520 2252 2252 0 0 2140 112 2252 120 0 28 4 4 0 rd wr mr mw me dw ac sd YDService
01f53000 rw-p 00000000 00:00 0 540 220 220 0 0 0 220 220 220 0 36 4 4 0 rd wr mr mw me ac sd
02206000 rw-p 00000000 00:00 0 181088 62384 62384 0 0 1176 61208 62248 62384 0 118704 4 4 0 rd wr mr mw me ac sd [heap]
c000000000 rw-p 00000000 00:00 0 65536 4120 4120 0 0 20 4100 4120 4120 0 1012 4 4 0 rd wr mr mw me ac sd
7f42d4445000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42d4446000 rw-p 00000000 00:00 0 8192 20 20 0 0 0 20 20 20 0 0 4 4 0 rd wr mr mw me ac sd
7f42d4c46000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42d4c47000 rw-p 00000000 00:00 0 8192 12 12 0 0 0 12 12 12 0 8 4 4 0 rd wr mr mw me ac sd
7f42d5447000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42d5448000 rw-p 00000000 00:00 0 8448 88 88 0 0 0 88 88 88 0 28 4 4 0 rd wr mr mw me ac sd
7f42d5c88000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42d5c89000 rw-p 00000000 00:00 0 8192 32 32 0 0 0 32 32 32 0 4 4 4 0 rd wr mr mw me ac sd
7f42d6489000 rw-s 00000000 00:07 34628688 4096 4096 2560 3072 0 0 1024 4096 0 0 0 4 4 0 rd wr sh mr mw me ms sd mm socket:[34628688]
7f42d6889000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42d688a000 rw-p 00000000 00:00 0 8192 20 20 0 0 0 20 20 20 0 0 4 4 0 rd wr mr mw me ac sd
7f42d708a000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42d708b000 rw-p 00000000 00:00 0 8192 16 16 0 0 0 16 16 16 0 4 4 4 0 rd wr mr mw me ac sd
7f42d788b000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42d788c000 rw-p 00000000 00:00 0 8192 16 16 0 0 0 16 16 16 0 4 4 4 0 rd wr mr mw me ac sd
7f42d808c000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42d808d000 rw-p 00000000 00:00 0 8448 68 68 0 0 0 68 68 68 0 4 4 4 0 rd wr mr mw me ac sd
7f42d88cd000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42d88ce000 rw-p 00000000 00:00 0 8192 32 32 0 0 0 32 32 32 0 4 4 4 0 rd wr mr mw me ac sd
7f42d90ce000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42d90cf000 rw-p 00000000 00:00 0 8192 32 32 0 0 0 32 32 32 0 4 4 4 0 rd wr mr mw me ac sd
7f42d98cf000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42d98d0000 rw-p 00000000 00:00 0 8192 0 0 0 0 0 0 0 0 0 8 4 4 0 rd wr mr mw me ac sd
7f42da0d0000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42da0d1000 rw-p 00000000 00:00 0 8192 0 0 0 0 0 0 0 0 0 8 4 4 0 rd wr mr mw me ac sd
7f42da8d1000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42da8d2000 rw-p 00000000 00:00 0 8192 32 32 0 0 0 32 32 32 0 4 4 4 0 rd wr mr mw me ac sd
7f42db0d2000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42db0d3000 rw-p 00000000 00:00 0 8192 32 32 0 0 0 32 32 32 0 4 4 4 0 rd wr mr mw me ac sd
7f42db8d3000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42db8d4000 rw-p 00000000 00:00 0 8448 156 156 0 0 0 156 156 156 0 8 4 4 0 rd wr mr mw me ac sd
7f42dc114000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42dc115000 rw-p 00000000 00:00 0 8192 20 20 0 0 0 20 20 20 0 0 4 4 0 rd wr mr mw me ac sd
7f42dc915000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42dc916000 rw-p 00000000 00:00 0 8192 16 16 0 0 0 16 16 16 0 0 4 4 0 rd wr mr mw me ac sd
7f42dd116000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42dd117000 rw-p 00000000 00:00 0 8192 12 12 0 0 0 12 12 12 0 0 4 4 0 rd wr mr mw me ac sd
7f42dd917000 r-xp 00000000 fd:01 265652 88 32 7 32 0 0 0 32 0 0 0 4 4 0 rd ex mr mw me sd libresolv-2.17.so
7f42dd92d000 ---p 00016000 fd:01 265652 2044 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd libresolv-2.17.so
7f42ddb2c000 r--p 00015000 fd:01 265652 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd mr mw me ac sd libresolv-2.17.so
7f42ddb2d000 rw-p 00016000 fd:01 265652 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd wr mr mw me ac sd libresolv-2.17.so
7f42ddb2e000 rw-p 00000000 00:00 0 8 0 0 0 0 0 0 0 0 0 0 4 4 0 rd wr mr mw me ac sd
7f42ddb30000 r-xp 00000000 fd:01 265640 20 12 3 12 0 0 0 12 0 0 0 4 4 0 rd ex mr mw me sd libnss_dns-2.17.so
7f42ddb35000 ---p 00005000 fd:01 265640 2048 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd libnss_dns-2.17.so
7f42ddd35000 r--p 00005000 fd:01 265640 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd mr mw me ac sd libnss_dns-2.17.so
7f42ddd36000 rw-p 00006000 fd:01 265640 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd wr mr mw me ac sd libnss_dns-2.17.so
7f42ddd37000 r-xp 00000000 fd:01 265642 48 20 2 20 0 0 0 20 0 0 0 4 4 0 rd ex mr mw me sd libnss_files-2.17.so
7f42ddd43000 ---p 0000c000 fd:01 265642 2044 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd libnss_files-2.17.so
7f42ddf42000 r--p 0000b000 fd:01 265642 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd mr mw me ac sd libnss_files-2.17.so
7f42ddf43000 rw-p 0000c000 fd:01 265642 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd wr mr mw me ac sd libnss_files-2.17.so
7f42ddf44000 rw-p 00000000 00:00 0 1432 356 356 0 0 324 32 356 356 0 960 4 4 0 rd wr mr mw me ac sd
7f42de0aa000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42de0ab000 rw-p 00000000 00:00 0 8192 0 0 0 0 0 0 0 0 0 8 4 4 0 rd wr mr mw me ac sd
7f42de8ab000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42de8ac000 rw-p 00000000 00:00 0 8192 8 8 0 0 0 8 8 8 0 4 4 4 0 rd wr mr mw me ac sd
7f42df0ac000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42df0ad000 rw-p 00000000 00:00 0 8192 8 8 0 0 0 8 8 8 0 0 4 4 0 rd wr mr mw me ac sd
7f42df8ad000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42df8ae000 rw-p 00000000 00:00 0 8192 28 28 0 0 0 28 28 28 0 8 4 4 0 rd wr mr mw me ac sd
7f42e00ae000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f42e00af000 rw-p 00000000 00:00 0 44100 2376 2376 0 0 0 2376 2376 2376 2048 124 4 4 0 rd wr mr mw me ac sd
7f42e2bc0000 ---p 00000000 00:00 0 263680 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd
7f42f2d40000 rw-p 00000000 00:00 0 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd wr mr mw me ac sd
7f42f2d41000 ---p 00000000 00:00 0 293564 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd
7f4304bf0000 rw-p 00000000 00:00 0 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd wr mr mw me ac sd
7f4304bf1000 ---p 00000000 00:00 0 36692 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd
7f4306fc6000 rw-p 00000000 00:00 0 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd wr mr mw me ac sd
7f4306fc7000 ---p 00000000 00:00 0 4068 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd
7f43073c0000 ---p 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me ac sd
7f43073c1000 rw-p 00000000 00:00 0 8192 32 32 0 0 0 32 32 32 0 0 4 4 0 rd wr mr mw me ac sd
7f4307bc1000 r-xp 00000000 fd:01 265624 1800 580 68 580 0 0 0 580 0 0 0 4 4 0 rd ex mr mw me sd libc-2.17.so
7f4307d83000 ---p 001c2000 fd:01 265624 2048 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd libc-2.17.so
7f4307f83000 r--p 001c2000 fd:01 265624 16 16 16 0 0 4 12 16 16 0 0 4 4 0 rd mr mw me ac sd libc-2.17.so
7f4307f87000 rw-p 001c6000 fd:01 265624 8 8 8 0 0 0 8 8 8 0 0 4 4 0 rd wr mr mw me ac sd libc-2.17.so
7f4307f89000 rw-p 00000000 00:00 0 20 20 20 0 0 0 20 20 20 0 0 4 4 0 rd wr mr mw me ac sd
7f4307f8e000 r-xp 00000000 fd:01 266389 84 0 0 0 0 0 0 0 0 0 0 4 4 0 rd ex mr mw me sd libgcc_s-4.8.5-20150702.so.1
7f4307fa3000 ---p 00015000 fd:01 266389 2044 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd libgcc_s-4.8.5-20150702.so.1
7f43081a2000 r--p 00014000 fd:01 266389 4 0 0 0 0 0 0 0 0 0 4 4 4 0 rd mr mw me ac sd libgcc_s-4.8.5-20150702.so.1
7f43081a3000 rw-p 00015000 fd:01 266389 4 0 0 0 0 0 0 0 0 0 4 4 4 0 rd wr mr mw me ac sd libgcc_s-4.8.5-20150702.so.1
7f43081a4000 r-xp 00000000 fd:01 265632 1028 0 0 0 0 0 0 0 0 0 0 4 4 0 rd ex mr mw me sd libm-2.17.so
7f43082a5000 ---p 00101000 fd:01 265632 2044 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd libm-2.17.so
7f43084a4000 r--p 00100000 fd:01 265632 4 0 0 0 0 0 0 0 0 0 4 4 4 0 rd mr mw me ac sd libm-2.17.so
7f43084a5000 rw-p 00101000 fd:01 265632 4 0 0 0 0 0 0 0 0 0 4 4 4 0 rd wr mr mw me ac sd libm-2.17.so
7f43084a6000 r-xp 00000000 fd:01 265950 932 156 146 20 0 136 0 156 0 0 0 4 4 0 rd ex mr mw me sd libstdc++.so.6.0.19
7f430858f000 ---p 000e9000 fd:01 265950 2048 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd libstdc++.so.6.0.19
7f430878f000 r--p 000e9000 fd:01 265950 32 20 20 0 0 4 16 20 20 0 12 4 4 0 rd mr mw me ac sd libstdc++.so.6.0.19
7f4308797000 rw-p 000f1000 fd:01 265950 8 8 8 0 0 0 8 8 8 0 0 4 4 0 rd wr mr mw me ac sd libstdc++.so.6.0.19
7f4308799000 rw-p 00000000 00:00 0 84 12 12 0 0 0 12 12 12 0 4 4 4 0 rd wr mr mw me ac sd
7f43087ae000 r-xp 00000000 fd:01 265650 92 44 4 44 0 0 0 44 0 0 0 4 4 0 rd ex mr mw me sd libpthread-2.17.so
7f43087c5000 ---p 00017000 fd:01 265650 2044 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd libpthread-2.17.so
7f43089c4000 r--p 00016000 fd:01 265650 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd mr mw me ac sd libpthread-2.17.so
7f43089c5000 rw-p 00017000 fd:01 265650 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd wr mr mw me ac sd libpthread-2.17.so
7f43089c6000 rw-p 00000000 00:00 0 16 4 4 0 0 0 4 4 4 0 0 4 4 0 rd wr mr mw me ac sd
7f43089ca000 r-xp 00000000 fd:01 265654 28 0 0 0 0 0 0 0 0 0 0 4 4 0 rd ex mr mw me sd librt-2.17.so
7f43089d1000 ---p 00007000 fd:01 265654 2044 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd librt-2.17.so
7f4308bd0000 r--p 00006000 fd:01 265654 4 0 0 0 0 0 0 0 0 0 4 4 4 0 rd mr mw me ac sd librt-2.17.so
7f4308bd1000 rw-p 00007000 fd:01 265654 4 0 0 0 0 0 0 0 0 0 4 4 4 0 rd wr mr mw me ac sd librt-2.17.so
7f4308bd2000 r-xp 00000000 fd:01 265630 8 0 0 0 0 0 0 0 0 0 0 4 4 0 rd ex mr mw me sd libdl-2.17.so
7f4308bd4000 ---p 00002000 fd:01 265630 2048 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd libdl-2.17.so
7f4308dd4000 r--p 00002000 fd:01 265630 4 0 0 0 0 0 0 0 0 0 4 4 4 0 rd mr mw me ac sd libdl-2.17.so
7f4308dd5000 rw-p 00003000 fd:01 265630 4 0 0 0 0 0 0 0 0 0 4 4 4 0 rd wr mr mw me ac sd libdl-2.17.so
7f4308dd6000 r-xp 00000000 fd:01 265617 136 8 1 8 0 0 0 8 0 0 0 4 4 0 rd ex mr mw me dw sd ld-2.17.so
7f4308e08000 rw-p 00000000 00:00 0 512 328 328 0 0 0 328 328 328 0 12 4 4 0 rd wr mr mw me ac sd
7f4308e88000 ---p 00000000 00:00 0 512 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd
7f4308f08000 rw-p 00000000 00:00 0 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd wr mr mw me ac sd
7f4308f09000 ---p 00000000 00:00 0 508 0 0 0 0 0 0 0 0 0 0 4 4 0 mr mw me sd
7f4308f88000 rw-p 00000000 00:00 0 408 60 60 0 0 12 48 60 60 0 12 4 4 0 rd wr mr mw me ac sd
7f4308ff4000 rw-p 00000000 00:00 0 12 8 8 0 0 0 8 8 8 0 4 4 4 0 rd wr mr mw me ac sd
7f4308ff7000 r--p 00021000 fd:01 265617 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd mr mw me dw ac sd ld-2.17.so
7f4308ff8000 rw-p 00022000 fd:01 265617 4 4 4 0 0 0 4 4 4 0 0 4 4 0 rd wr mr mw me dw ac sd ld-2.17.so
7f4308ff9000 rw-p 00000000 00:00 0 4 4 4 0 0 4 0 4 4 0 0 4 4 0 rd wr mr mw me ac sd
7ffeb9da0000 rw-p 00000000 00:00 0 276 28 28 0 0 0 28 28 28 0 16 4 4 0 rd wr mr mw me gd ac [stack]
7ffeb9df1000 r-xp 00000000 00:00 0 8 4 0 4 0 0 0 4 0 0 0 4 4 0 rd ex mr mw me de sd [vdso]
ffffffffff600000 r-xp 00000000 00:00 0 4 0 0 0 0 0 0 0 0 0 0 4 4 0 rd ex [vsyscall]
======= ===== ===== ============ ============ ============= ============= ========== ========= ============= ====== ============== =========== ======
1137256 82876 80717 3788 0 8788 70300 82740 70828 2048 121068 476 476 0 KB