I have a htpc/server-ish ubuntu box running at home with kodi (xbmc) and some other webservices.
I noticed kodi was laggish and ssh'ed into the box to see what was going on. I saw this htop output:
This is the output of free -m
richard@RMD-HTPC:~$ free -m
total used free shared buffers cached
Mem: 7642 7505 137 152 196 1296
-/+ buffers/cache: 6012 1630
Swap: 1905 10 1895
How come the ram usage is at 6000 of 7600mb in the screenshot at 7505 in free
But when I add up all the percentages of the unique processes in htop I only go to about 22-25% ? Should it not be much higher?