smem and procrank

On Linux, the smem tool can give the proportional amount of RAM that a process is using.

On embedded Linux, procrank can do the same thing.