Linux command is our basic skills to use and maintain the Linux operating system, when you master the basic command, you can efficiently and quickly complete the task, the following commands are the common commands summarized by themselves, mainly for their own review and summary, but also to share your love Linux operating system friends.
The Free command displays the number of unused and used memory in the current system, and displays information such as memory buffers used by the kernel.
Usage: free [options]
Options:
-B: Displays memory usage in bytes;
-K: Displays memory usage in kilobytes;
-M: Displays memory usage in megabytes;
-O: Do not display buffer adjustment columns;
-s< interval seconds;: Continuous observation of memory usage;
-T: Displays the sum of memory columns;
-V: Displays version information.
Example: Free-m
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/84/90/wKioL1eUyUKBXo0hAAAlcBuyKk4413.png "title=" QQ picture 20160724215658.png "alt=" Wkiol1euyukbxo0haaalcbuykk4413.png "/>
All of the above information can be divided into 3 parts:
(1) Use of memory:
Total: Represents the amount of physical memory;
Used: Represents the physical memory already used;
Free: Represents the remaining physical memory;
shared: not currently obsolete;
Buffers buffer: number of cache memory;
Cached Page: The number of cache memory.
The physical relationship that exists: Total=used+free.
(2) The relationship between buffers and the cache:
(-buffers/cache) used memory: The first part of the Mem line in used–buffers–cached
(+buffers/cache) Free Memory: The first part of the MEM line Free + buffers + Cached
(3) Swap usage.
Linux Common Commands (i)