Procstat: Difference between revisions
From wikinotes
No edit summary |
(No difference)
|
Latest revision as of 14:59, 28 August 2020
List detailed information about a process, including reserved memory ranges.
PID START END PRT RES PRES REF SHD FLAG TP PATH
8146 0x200000 0x230000 r-- 34 135 9 3 CN--- vn /usr/local/bin/tmux
8146 0x230000 0x29b000 r-x 99 135 9 3 CN--- vn /usr/local/bin/tmux
8146 0x29b000 0x29c000 rw- 1 0 1 0 C---- vn /usr/local/bin/tmux
8146 0x29c000 0x29d000 r-- 1 3 2 0 ----- df
Usage
procstat -av # detailed info about all processes procstat -v $pid # detaild info about a single target processColumns
START # start memory addr END # end memory addr RES # resident memory (pages?)