process
hi,
i like to find how much memory a process uses.
prstat gives RSS for that process and if i use pmap i can see the shared libraries used by process.
should i search for every shared library used by the process what other process use it and then divide the size of memory used by the shared library by the number of processes that use that library?
then rss + this value is the memory used by process?
can dtrace give the memory of process?