Goal:
How to calculate the whole physical memory has been used by progress? In the other word, how to calculate the sum of whole progress used physical memory ?
I got this SR or ticket from one customer and I would like to do it with the method bellow.
# awk '/Pss:/{ sum += $2 } END { print sum }' /proc/$$/smaps
Since the proc system help us to calculate the actual memory has been used as per progress.
FYI...