![]() If you want to do more continuous monitoring, you can specify the number of times to run the command. It’s like a summary of the totals of the main and swap memory. Using the -t option, you can add a row called total at the end of the output to totalize. free -h Using the free commandĪs we can notice, now the units are expressed in a better and more understandable format for humans. To improve it, you can use the -h option. More usesĪs we can notice, it is a simple command to use, but it expresses the amounts in a not very understandable format. The last row shows information about the swap. Available: A system estimate of the amount of memory available.cached: Amount of memory dedicated to the cache.buffers: This is the memory reserved for buffers.shared which is the memory used by the tmpfs file system.free: this column shows the amount of free memory in the system.total: The amount of memory the computer has.Each of these specifies the memory usage. In this output, we can see that there are several columns like total, used, free, shared, buffers/ cached. ![]() If you use the free command without any parameters defined, then you will get an output similar to this. All we have to do is open our terminal and start using it. Using the free command in LinuxĪs we said, the free command is available from your favorite Linux distribution. This means that we don’t have to install anything or do any additional steps. That is to say, we will be able to know how much is used, and how much is available.Īlthough the free command does not have many options and learning to use it is simple and fast, it is one of those commands that is always good to have on hand to know how the system works.īeing a basic command of the Unix family, it is available in all Linux distributions. Thanks to free, we can quickly know what is the use we are giving it. ![]() The free command belongs to a family of commands for Unix operating systems that allows us to know the memory usage of the system.īy memory, we always mean RAM or main system memory. This command is also basic to use, but it can get us out of an important predicament. This time we are going to explore the free in Linux command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |