Hello,
I'd like to measure the amount of RAM required by a single process, but it turned to be a non-trivial task because of demand paging, dynamic libraries and fork() usage.
In Solaris it's pretty easy to get what I want using pmap. It shows the whole application virtual memory and, amongst other things, the RSS for each region/area.
Unfortunately, this feature has not been implemented in the Linux pmap port as it just lists region attributes and size, probably because the info I look for cannot be gathered directly from the /proc dir.
Any hint about this?
Thanks