how install smem ubuntu

ubuntu

smem

memory reporting tool
http://www.selenic.com/smem/
Install sudo apt install smem
Description:

Tool that can give numerous reports on memory usage on Linux systems. Unlike existing tools, smem can report proportional set size (PSS), which is a more meaningful representation of the amount of memory used by libraries and applications in a virtual memory system.

This package contains main tool which can also process data collected by smemcap.