Linux – Memory usage per user in Linux

linuxmemoryusers

Let's say i have 20 users logged on my linux box. How can I know how much memory each of them is using?

Best Answer

You could try using smem (see ELC2009: Visualizing memory usage with smem for more information). In particular, sudo smem -u should give you the information you want.