This article will guide you on different methods system administrators can use to check #memory #usage in #Linux #Mint 20. One of these methods was based on GUI and is intended for the users who prefer to work with a catchy interface.
The other three methods are #CLI based since most of the tasks in the Linux based operating systems is performed via the command-line interface.
The simplest way is to fill /tmp, assuming it is using tmpfs which is the default. Run df -k /tmp to make sure it is. Keep in mind that without giving the program a maximum amount of memory it'll allocate until it exhausts the amount it can (may be limited by ulimit, amount of memory, or size of address space).
Commands to Check Memory Use in Linux:
- cat Command to Show Linux Memory Information.
- free Command to Display the Amount of Physical and Swap Memory.
- vmstat Command to Report Virtual Memory Statistics.
- top Command to Check Memory Use.
- htop Command to Find Memory Load of Each Process.
https://linuxapt.com/blog/62-methods-to-check-memory-usage-in-linux-mint-20