4

Getting information about a process' memory usage from /proc/pid/smaps

view full story
linux-howto

http://unix.stackexchange.com – For a given process in /proc/<pid>/smaps, for a given mapping entry what are: Shared_Clean Shared_Dirty Private_Clean Private_Dirty Is Shared_Clean + Shared_Dirty the amount of memory that is shared with other processes? So it is like private RSS? Similarly is Private_Clean + Private_Dirty the amount of memory that is available for only one process? So it is like private RSS? Is the PSS value = PrivateRSS + (SharedRSS / number of processes sharing it)? (HowTos)