
For example, the below command will update free command every 5 seconds. The -s option with number, used to update free command at regular intervals. Display Memory Status for Regular Intervals Disable Display of Buffer Adjusted Lineīy default the free command display “ buffer adjusted” line, to disable this line use option as -o.

# free -gįree command with -t option, will list the total line at the end. Using -g option with free command, would display the size of the memory in GB( Gigabytes).

To see the size of the memory in ( MB) Megabytes use option as -m. Display Memory in Kilo Bytesįree command with option -k, display the size of memory in ( KB) Kilobytes. Display Memory in Bytesįree command with option -b, display the size of memory in Bytes. Display System Memoryįree command used to check the used and available space of physical memory and swap memory in KB.

This article provides some useful examples of “ free” commands with options, that might be useful for you to better utilize memory that you have. The Linux “ free” command gives information about total used and available space of physical memory and swap memory with buffers used by kernel in Linux/Unix like operating systems. The most important and single way of determining the total available space of the physical memory and swap memory is by using “ free” command. Linux is one of the most popular open source operating system and comes with huge set of commands.
