Memory


System memory holds the data and program code of currently running applications.

Physical system memory is usually packaged on individual circuit board modules that plug into the motherboard.

RAM-Diagram.png

There are several ways to obtain information about system memory. As a user, the total amount of memory available and in use are typically the values of interest. One source of information would be to run the command free with the parameter -m.


Display amount of free and used memory in the system.

Pasted image 20240818165503.png

free displays the total amount of free and used physical and swap memory in the system, as well as the buffers and caches used by the kernel. The information is gathered by parsing /proc/meminfo.