by torqu3e · 5y ago · 0 comments
e.g.
$ pgrep -f bash | xargs -I{} pmap -x {} | grep total | awk '{sum=sum+$4}END{printf "%.2f%s", sum/1024," MB\n"}'
74.79 MB
No comments yet.