Linux memory view summary of commonly used commands
Today, the editor shares with you a summary of linux memory view common commands. I believe many people do not know much about it. In order to let you know more about linux memory view common commands, I summarize the following contents for you. Let's look down together. I'm sure you'll get something.
Under Linux, we often use the top command to view the system process, and top can also display the system memory. Our common tool for viewing content under Linux is the free command.
Memory View Command free under Linux:
To view memory under Linux, we usually use the free command:
$free total used free shared buffers cachedMem: 3266180 3250004 16176 0 110652 2668236 + buffers/cache: 471116 2795064Swap: 2048276 80160 1968116
The following is an explanation for viewing the output of the free command in memory:
Total: the total amount of physical memory.
Used: how much has been used.
Free: how many are available?
Shared: the total amount of memory shared by multiple processes.
Buffers/cached: size of the disk cache.
The third line (- / + buffers/cached):
Used: how much has been used.
Free: how many are available?
On the linux memory view common commands are shared here, I hope that the above content can have a certain reference value, you can learn to apply. If you like this article, you might as well share it for more people to see.