2009年7月14日 星期二

Show the memory usage of specified process id

Show the memory usage

# in the following examples, the 22405 is the process id
# top -p 22405
# pmap -d 22405

show memory details
# pmap -x 22405

b5fdb000 10240 - - - rw--- [ anon ]
b69db000 4 - - - ----- [ anon ]
b69dc000 10240 - - - rw--- [ anon ]
b73dc000 4 - - - ----- [ anon ]
b73dd000 10240 - - - rw--- [ anon ]
b7ddd000 2048 - - - r---- locale-archive
b7fdd000 8 - - - rw--- [ anon ]
b7fe6000 28 - - - r--s- gconv-modules.cache
b7fed000 16 - - - rw--- [ anon ]
bf972000 268 - - - rw--- [ stack ]


anon is a large size memory? [FIXME]

沒有留言: