Linux性能测试 pmap命令
2015-05-14 16:32
549 查看
名称:
pmap - report memory map of a process(查看进程的内存映像信息)
用法
pmap [ -x | -d ] [ -q ] pids...
pmap -V
选项含义
-x extended Show the extended format. 显示扩展格式
-d device Show the device format. 显示设备格式
-q quiet Do not display some header/footer lines. 不显示头尾行
-V show version Displays version of program. 显示版本
扩展格式和设备格式域:
Address: start address of map 映像起始地址
Kbytes: size of map in kilobytes 映像大小
RSS: resident set size in kilobytes 驻留集大小
Dirty: dirty pages (both shared and private) in kilobytes 脏页大小
Mode: permissions on map 映像权限: r=read, w=write, x=execute, s=shared, p=private (copy on write)
Mapping: file backing the map , or '[ anon ]' for allocated memory, or '[ stack ]' for the program stack. 映像支持文件,[anon]为已分配内存 [stack]为程序堆栈
Offset: offset into the file 文件偏移
Device: device name (major:minor) 设备名
举例:
查看进程fba1_logic20 的内存情况
pmap - report memory map of a process(查看进程的内存映像信息)
用法
pmap [ -x | -d ] [ -q ] pids...
pmap -V
选项含义
-x extended Show the extended format. 显示扩展格式
-d device Show the device format. 显示设备格式
-q quiet Do not display some header/footer lines. 不显示头尾行
-V show version Displays version of program. 显示版本
扩展格式和设备格式域:
Address: start address of map 映像起始地址
Kbytes: size of map in kilobytes 映像大小
RSS: resident set size in kilobytes 驻留集大小
Dirty: dirty pages (both shared and private) in kilobytes 脏页大小
Mode: permissions on map 映像权限: r=read, w=write, x=execute, s=shared, p=private (copy on write)
Mapping: file backing the map , or '[ anon ]' for allocated memory, or '[ stack ]' for the program stack. 映像支持文件,[anon]为已分配内存 [stack]为程序堆栈
Offset: offset into the file 文件偏移
Device: device name (major:minor) 设备名
举例:
查看进程fba1_logic20 的内存情况
[app1104534762@VM_232_45_tlinux /data/home/run/1/fb_logic20]$ pmap $(pidof fba1_logic20) 1304: ./fba1_logic20 fb.ini 0000000000400000 644K r-x-- /data/home/run/1/fb_logic20/fba1_logic20 00000000006a1000 4K rw--- /data/home/run/1/fb_logic20/fba1_logic20 00000000024f4000 9116K rw--- [ anon ] 00007f650c000000 140K rw--- [ anon ] 00007f650c023000 65396K ----- [ anon ] 00007f6510000000 140K rw--- [ anon ] 00007f6510023000 65396K ----- [ anon ] 00007f6514000000 140K rw--- [ anon ] 00007f6514023000 65396K ----- [ anon ] 00007f6518000000 140K rw--- [ anon ] 00007f6518023000 65396K ----- [ anon ] 00007f651c000000 140K rw--- [ anon ] 00007f651c023000 65396K ----- [ anon ] 00007f6520000000 140K rw--- [ anon ] 00007f6520023000 65396K ----- [ anon ] 00007f6524000000 140K rw--- [ anon ] 00007f6524023000 65396K ----- [ anon ] 00007f6528000000 140K rw--- [ anon ] 00007f6528023000 65396K ----- [ anon ] 00007f652cffa000 4K ----- [ anon ] 00007f652cffb000 8192K rw--- [ anon ] 00007f652d7fb000 4K ----- [ anon ] 00007f652d7fc000 8192K rw--- [ anon ] 00007f652dffc000 4K ----- [ anon ] 00007f652dffd000 8192K rw--- [ anon ] 00007f652e7fd000 4K ----- [ anon ] 00007f652e7fe000 8192K rw--- [ anon ] 00007f652effe000 4K ----- [ anon ] 00007f652efff000 8192K rw--- [ anon ] 00007f652f7ff000 4K ----- [ anon ] 00007f652f800000 8192K rw--- [ anon ] 00007f6530000000 140K rw--- [ anon ] 00007f6530023000 65396K ----- [ anon ] 00007f6534000000 140K rw--- [ anon ] 00007f6534023000 65396K ----- [ anon ] 00007f6538000000 140K rw--- [ anon ] 00007f6538023000 65396K ----- [ anon ] 00007f653c000000 140K rw--- [ anon ] 00007f653c023000 65396K ----- [ anon ] 00007f6540000000 140K rw--- [ anon ] 00007f6540023000 65396K ----- [ anon ] 00007f6544000000 140K rw--- [ anon ] 00007f6544023000 65396K ----- [ anon ] 00007f6548000000 140K rw--- [ anon ] 00007f6548023000 65396K ----- [ anon ] 00007f654c000000 140K rw--- [ anon ] 00007f654c023000 65396K ----- [ anon ] 00007f6550000000 140K rw--- [ anon ] 00007f6550023000 65396K ----- [ anon ] 00007f6554000000 140K rw--- [ anon ] 00007f6554023000 65396K ----- [ anon ] 00007f65587f9000 4K ----- [ anon ] 00007f65587fa000 8192K rw--- [ anon ] 00007f6558ffa000 4K ----- [ anon ] 00007f6558ffb000 8192K rw--- [ anon ] 00007f65597fb000 4K ----- [ anon ] 00007f65597fc000 8192K rw--- [ anon ] 00007f6559ffc000 4K ----- [ anon ] 00007f6559ffd000 8192K rw--- [ anon ] 00007f655a7fd000 4K ----- [ anon ] 00007f655a7fe000 8192K rw--- [ anon ] 00007f655affe000 4K ----- [ anon ] 00007f655afff000 8192K rw--- [ anon ] 00007f655b7ff000 4K ----- [ anon ] 00007f655b800000 8192K rw--- [ anon ] 00007f655c000000 140K rw--- [ anon ] 00007f655c023000 65396K ----- [ anon ] 00007f6560000000 140K rw--- [ anon ] 00007f6560023000 65396K ----- [ anon ] 00007f6564000000 132K rw--- [ anon ] 00007f6564021000 65404K ----- [ anon ] 00007f656823a000 4K ----- [ anon ] 00007f656823b000 8192K rw--- [ anon ] 00007f6568a3b000 4K ----- [ anon ] 00007f6568a3c000 8192K rw--- [ anon ] 00007f656923c000 4K ----- [ anon ] 00007f656923d000 8192K rw--- [ anon ] 00007f6569a3d000 4K ----- [ anon ] 00007f6569a3e000 8192K rw--- [ anon ] 00007f656a23e000 4K ----- [ anon ] 00007f656a23f000 8192K rw--- [ anon ] 00007f656aa3f000 4K ----- [ anon ] 00007f656aa40000 8192K rw--- [ anon ] 00007f656b240000 4K ----- [ anon ] 00007f656b241000 8192K rw--- [ anon ] 00007f656ba41000 4K ----- [ anon ] 00007f656ba42000 8192K rw--- [ anon ]
相关文章推荐
- Linux性能测试 pmap命令
- Linux性能测试 pmap命令
- Linux性能测试 pmap命令详解
- Linux性能测试 pmap命令
- Linux性能测试 pmap命令
- Linux性能测试 pmap命令
- Linux性能测试 pmap命令
- [转]Linux性能测试 pmap命令
- Linux性能测试 pmap命令
- Linux性能测试 pmap命令
- Linux性能测试 pmap命令
- Linux性能测试 pmap命令
- Linux性能测试 top衍生命令 atop/htop/slaptop
- [转载]Linux性能测试 uptime命令
- ab命令_Linux ab 命令用法详解:Apache服务器的性能测试工具
- 性能测试中用到的linux命令分析
- [转载]Linux性能测试 iostat命令
- Linux性能测试 ulimit命令
- Linux性能测试 tcpdump命令
- Linux性能测试 命令大全