Meaning of each field of the free command in linux

Source: Internet
Author: User
The meaning of each field of the free command in linux-Linux general technology-Linux programming and kernel information. The following is a detailed description. I searched and sorted it out as follows:

Free-m
Total used free shared buffers cached
Mem: 3791 3360 430 0 71 2409
-/+ Buffers/cache: 879 2912
Swap: 1004 0 1003

The first line is from the system perspective, total = used + free. Both buffers and cached are buffer and cache allocated by the system.

The second line is the same total = used2 + free2 available for the application. Buffer/cached is used to improve the file reading performance. When the application needs to use the memory, buffer/cached will be quickly recycled.

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.