[1] free command
The most commonly used command for determining a Linux system's memory usage is free. It displays total, used, and free memory information.
The free command displays information about physical memory and system swap.
The most commonly used command for determining a Linux system's memory usage is free. It displays total, used, and free memory information.
The free command displays information about physical memory and system swap.
Hereβs what each column represents:
- total - The total amount of memory available to applications.
- use - memory that has been used. It is computed as follows: used = total - free - buffers - cache
- free - unused / free memory
- total - The total amount of memory available to applications.
- use - memory that has been used. It is computed as follows: used = total - free - buffers - cache
- free - unused / free memory
- shared - Ignore this column; it is only shown for backward compatibility.
- buff/cache - the memory used by the kernel buffers, page cache, and slabs combined. This memory can be reclaimed at any time if the applications require it.
- buff/cache - the memory used by the kernel buffers, page cache, and slabs combined. This memory can be reclaimed at any time if the applications require it.
- available - An estimate of the available memory for starting new applications without swapping.
The output header contains information about the system's total, free, and used physical and swap memory.
The %MEM column indicates how much of the available physical memory is being used by each running process.
The %MEM column indicates how much of the available physical memory is being used by each running process.
[3] /proc/meminfo
The simplest method to check RAM memory use is to display the contents of the /proc/meminfo virtual file. This file is utilized by the free, htop, top, ps, and other system information commands.
The simplest method to check RAM memory use is to display the contents of the /proc/meminfo virtual file. This file is utilized by the free, htop, top, ps, and other system information commands.
The file contains a wealth of information regarding the system's memory and swap usage. The /proc/meminfo file contains information that can be readily parsed and used in shell scripts.
[4] A bonus: Using GUI (system monitor):
It is uncommon to use a graphical interface for system administration. Certain data sets, on the other hand, are much clearer, providing a visual representation of memory utilization.
It is uncommon to use a graphical interface for system administration. Certain data sets, on the other hand, are much clearer, providing a visual representation of memory utilization.
To access memory usage on the System Monitor, follow these steps:
1. Navigate to your applications and search for system monitor
2. Open system monitor
3. Select resource tab on the system monitor app
1. Navigate to your applications and search for system monitor
2. Open system monitor
3. Select resource tab on the system monitor app
That's all! Thank you for getting this far. I hope you find this thread useful.
If you found this thread helpful
1. Toss us a follow for more daily threads on Linux, sysadmin, and DevOpsβ
@linuxopsys
2. Like and RT the first tweet so that other Linux users can find it as well.
If you found this thread helpful
1. Toss us a follow for more daily threads on Linux, sysadmin, and DevOpsβ
@linuxopsys
2. Like and RT the first tweet so that other Linux users can find it as well.
Loading suggestions...