Code: Select all
freeBut this does not show what programs are using it.
on a vanilla Linux install that is not easy but there is a little program that solves the problem:
ps_mem
Install it and after that you can simply do a
Code: Select all
sudo ps_mem (or ps_mem as root)
It will list all the programs using memory with the top perpetrators at the bottom.
 Code: Select all
  4.1 MiB +   6.6 MiB =  10.7 MiB       smbd (2)
 10.5 MiB + 273.5 KiB =  10.8 MiB       ntpd
 11.0 MiB + 275.0 KiB =  11.3 MiB       polkitd
 11.9 MiB + 476.5 KiB =  12.4 MiB       pekwm
 13.5 MiB +   1.3 MiB =  14.8 MiB       nacl_helper
 13.0 MiB +   2.1 MiB =  15.1 MiB       tint2
 12.5 MiB +   2.6 MiB =  15.2 MiB       systemd-journald
 14.1 MiB +   1.3 MiB =  15.4 MiB       glances
 14.4 MiB +   2.6 MiB =  17.1 MiB       xfce4-notifyd
  3.2 MiB +  14.4 MiB =  17.6 MiB       mdm-binary (2)
 17.9 MiB +   2.9 MiB =  20.8 MiB       cryptkeeper
 21.1 MiB + 639.5 KiB =  21.8 MiB       miniserv.pl
  9.2 MiB +  13.9 MiB =  23.1 MiB       monitorix-httpd
 12.0 MiB +  15.3 MiB =  27.3 MiB       /usr/bin/monito
 23.3 MiB +   5.2 MiB =  28.5 MiB       octopi-notifier
 31.2 MiB +   3.7 MiB =  34.8 MiB       guake
 35.8 MiB +   2.4 MiB =  38.2 MiB       xpad
 63.3 MiB +   1.8 MiB =  65.1 MiB       Xorg
 94.9 MiB + 134.5 KiB =  95.0 MiB       mysqld
177.5 MiB + 661.5 KiB = 178.1 MiB       idesk
263.0 MiB +  25.4 MiB = 288.4 MiB       salt-master (9)
903.0 MiB + 138.2 MiB =   1.0 GiB       chromium (24)
---------------------------------
                          2.0 GiB
=================================
 Yup it has been greedy lately (but I had a lot of tabs open).