What does the free command display?

What does the free command display?

The free command is a very simple command which simply shows few lines about the memory. The free command can be used to show total memory, used memory, free memory, shared memory, and available memory about RAM and swap space.

How do you read free command output?

The first line of the free output lists:

  1. total Your total, physical (assuming no virtualization) memory.
  2. used How much of that is currently used (by anything)
  3. free How much of that is completely free (not used at all)
  4. shared (never anything there, ignore that column)
  5. buffers Memory used by kernel buffers.

What is buffer in free command?

Buffer is something where data is there in memory but yet to be flushed to disk . The data will be flushed to disk by bdflush daemon periodically or we can do it manually by running sync command .

How do you display the output of free in human readable format?

You can also use free -h to show output in human-readable output. Please run free –help for more information on the options. The various columns, displayed by the various releases above, seek to identify the Total, used, free, shared memory.

What does the free command in Linux do?

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.

What does available column in free command mean?

The available column is the sum of the Free column plus the portions of the Buffers and Cache columns (or the Buff/cache column) that can be relinquished immediately. The Available column is an estimate, not an exact figure. It’s an informed estimate and an accurate one]

What kind of memory does the free command use?

This forces free to use mebibytes, which are 1,048,576 bytes. On other distributions, the default is kibibytes. The top line reports on system memory, the bottom line reports on swap space. We’ll introduce the columns here, then look at them in more detail shortly.

How big is the output of the free command?

Here’s the output in a neater table: The figures are given in kibibytes , which are 1024 bytes. On Manjaro, the free command is aliased as free -m. This forces free to use mebibytes, which are 1,048,576 bytes. On other distributions, the default is kibibytes.