This question already has an answer here:

I am using a shared workstation. Typing free -h returns me

              total        used        free      shared  buff/cache   available
Mem:            31G         30G        232M        292M        1.0G        608M
Swap:          2.0G        997M        1.0G

How do I check what processes or who is using the memory?

marked as duplicate by Soren A, WinEunuuchs2Unix, karel, Kulfy, Elder Geek Jun 6 at 22:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Ubuntu also uses memory for disk/file buffers, so it'll always look like memory is fully used. Are you having a specific problem? – heynnema Jun 3 at 15:04

You can use top (just type "top"). A "better top" is htop - just install it:

sudo apt install htop

... and use it


Not the answer you're looking for? Browse other questions tagged or ask your own question.