pmap 查看一個進程的內存地址映射

  • 名稱

pmap - 查看進程的內存映射

  • 格式

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: read, write, execute, shared, private (copy on write)
Mapping:    file backing the map, or '[ anon ]' for allocated memory, or '[ stack ]' for the program stack
Offset:    offset into the file
Device:    device name (major:minor)


 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章