网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

pmap命令怎么在linux中使用-创新互联

pmap 命令怎么在linux中使用?相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。

成都创新互联公司专注于文县企业网站建设,成都响应式网站建设,商城网站建设。文县网站建设公司,为文县等地区提供建站服务。全流程按需设计网站,专业设计,全程项目跟踪,成都创新互联公司专业和态度为您提供的服务

通过查看帮助,返回了如下信息:

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=  read the rc from file
 -n, --create-rc       create new default rc
 -N, --create-rc-to=  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=[,] 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).

然后列出某个进程(PID:8868)的信息时如下:

pmap -x 8868
Address      Kbytes   RSS  Dirty Mode Mapping
00007f789ec2d000  1668  1384    0 r-x-- libc-2.19.so
00007f789edce000  2048    0    0 ----- libc-2.19.so
00007f789efce000   16   16   16 r---- libc-2.19.so
00007f789efd2000    8    8    8 rw--- libc-2.19.so
00000000020e0000  4008  4008  4008 rw---  [ anon ]
00007f787c000000   132   24   24 rw---  [ anon ]
00007f787c021000  65404    0    0 -----  [ anon ]
00007f7880000000   132   12   12 rw---  [ anon ]
00007f7880021000  65404    0    0 -----  [ anon ]
00007f7884000000   148   92   92 rw---  [ anon ]
00007f7884025000  65388    0    0 -----  [ anon ]

以上列表项的含义如下:

Address: 内存分配地址

Kbytes:   实际分配的内存大小

RSS:       程序实际占用的内存大小

Mapping: 分配该内存的模块的名称

看完上述内容,你们掌握pmap 命令怎么在linux中使用的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注创新互联行业资讯频道,感谢各位的阅读!


分享名称:pmap命令怎么在linux中使用-创新互联
URL地址:http://bjjierui.cn/article/dhsdsh.html

其他资讯