The free command for Linux is the most common command parameter description for monitoring linux memory usage:-m: View memory usage in MB (default: kb)-B: view memory usage in bytes-s: you can not simply monitor memory usage within a specified period of time -------... the free command for Linux is the most common command parameter description for monitoring linux memory usage:-m: View memory usage in MB (default: kb)-B: view memory usage in bytes-s: you can not monitor memory usage in a specified period of time ----------------------------------------------------- Mem: indicates physical memory statistics-/+ buffers/cached: indicates the cache statistics of physical memory Swap: indicates the usage of Swap partitions on the hard disk, and 1st rows of Mem: total indicates the total physical memory. Used: indicates the total quantity allocated to the cache (including buffers and cache), but some of the caches are not actually used. Free: unallocated memory. Shared: shared Memory, which is generally not used by the system and will not be discussed here. Buffers: Number of buffers allocated by the system but not used. Cached: number of cache allocated by the system but not used. The difference between buffer and cache is described later. Total = used + free 2nd rows-/+ buffers/cached: used: that is, used-buffers-cached in the first row is also the total amount of memory actually used. Free: The sum of unused buffers, cache, and unallocated memory. this is the actual available memory of the system. Since buffers and cached are the memory size applied by the system to improve performance, these memories can be used when the application actually needs this function, so for applications, these memories can also be used.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service