Technology and General Blog

When putting in a new program bundle on a Linux method, we have to have to verify the available system’s memory or RAM. To validate that both sufficient memory is offered on our system or not to install and operate new software package. For this objective, Linux free of charge command is employed to display screen the finish summary or a report of memory use. Working with the free command, you can get info about the total total of swap and actual physical memory, as well as it delivers aspects about the applied and absolutely free memory.

We will reveal the Linux absolutely free command with illustrations in this report.

Syntax of Linux Absolutely free Command

The following syntax is made use of for absolutely free command:

When the cost-free command operate without the need of any possibility, it only displays the facts about memory and swap in kibibytes.

When the absolutely free command executes on the terminal, it shows the following details about the memory:

The adhering to screenshot demonstrates different fields, which are discussed below:

Full:  This industry displays the complete sum of memory and how considerably is installed on your procedure.

Utilized: This column tells how significantly memory is employed at this time by working procedures. The employed memory can be calculated using this components = total – cost-free – buffer/cache.

Absolutely free: This field signifies how substantially memory is absolutely free or is not remaining made use of by any course of action.

Shared: This field signifies the memory that is staying shared by multiple processes.

Buffers: This area demonstrates the amount of money of memory reserved by the OS kernel. The memory could be allocated further more if any application essential memory,

Cached: This discipline tells the amount of memory that is applied to keep modern information and information in RAM

Offered: This discipline signifies the volume of memory out there for starting up a new course of action without the need of memory swapping.

By default, the cost-free command displays the memory usage facts on kibibytes. But, if you want to clearly show it in a human-readable format, this sort of as megabytes and gigabytes, then use the selection “-h” alongside with the no cost command as follows:

If you want to measure the memory usage in other metrics or unit then, making use of the possibilities, you can modify the memory utilization measured models these types of as -b, –bytes (bytes), –kilo (kilobytes), –mega (megabytes), –giga (gigabytes) and a lot more.

For illustration, to display the memory usage information and facts in megabytes, use the subsequent command:

Exhibit Complete Memory Column

To print the column totals, use the solution “-t” along with the no cost command that presents you memory sum and swap in the whole. By making use of the adhering to command, you can show the whole column information in the output:

Show Memory Usage Facts Repeatedly

To display the data about the memory utilization of a Linux procedure, use the solution “-s” employed for seconds and then specify a quantity or delay as follows:

The earlier mentioned command will screen the memory utilization particulars soon after each individual 4 seconds. Then, press “Ctrl+c” to exit from the ongoing display screen.

To display the memory use data for a specified restrict, use the next command:

To get more details about memory utilization by means of the cost-free command, use the next command:


We have described the use of Linux free of charge command with illustrations in this post. We have also reviewed how to look at memory utilization particulars and interpret several selections. Sense no cost to ask issues by using reviews in scenario of any challenges.

Leave a Reply

Your email address will not be published. Required fields are marked *