| You could use the cda tool to find process resident memory usage.
For eg., the following command shows virtual memory regions, its
type and rss (resident set size) of all csh's. The rss is in
number of pages.
cda> vmm -trc csh
455: csh
# start end type rss
0 0x11ffe0000 0x120000000 private data 4
1 0x120000000 0x120800000 shared text 26
2 0x140000000 0x140008000 private data 2
3 0x140008000 0x14006c000 private data 28
4 0x3ff80000000 0x3ff80080000 shared text 15
5 0x3ff80080000 0x3ff80800000 shared text 120
6 0x3ffc0000000 0x3ffc0002000 private data 1
7 0x3ffc0002000 0x3ffc000c000 private data 4
8 0x3ffc0080000 0x3ffc0090000 private data 5
9 0x3ffc0090000 0x3ffc009a000 private data 0
555: csh
# start end type rss
0 0x11ffe0000 0x120000000 private data 0
1 0x120000000 0x120800000 shared text 26
2 0x140000000 0x140008000 private data 0
3 0x140008000 0x140034000 private data 0
4 0x3ff80000000 0x3ff80080000 shared text 15
5 0x3ff80080000 0x3ff80800000 shared text 120
6 0x3ffc0000000 0x3ffc0002000 private data 0
7 0x3ffc0002000 0x3ffc000c000 private data 0
8 0x3ffc0080000 0x3ffc0090000 private data 0
9 0x3ffc0090000 0x3ffc009a000 private data 0
You can get a copy of cda from the following URL:
http://www.zk3.dec.com/~shashi/cda.html
--shashi
[Posted by WWW Notes gateway]
|