Linux free command

Source: Internet
Author: User

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.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.