Linux free command

Source: Internet
Author: User


Linux free command [root @ l-dock ~] # Free total used free shared buffers cachedMem: 8203704 7891208 312496 0 231020 6528108-/+ buffers/cache: 1132080 7071624 6777848 Swap: 6777848 0 www.2cto.com Row 1: total physical memory total: 8203704 used memory used: 7891208 free idle memory: 312496 shared memory is currently obsolete, always 0 buffers is the Buffer Cache memory: 231020 cached is the Page Cache memory: 6528108 relationship: total = used + free second row:-/+ buffers/cache means:-buffers/cache memory: 1132080 (equal to 1st rows of used- Buffers-cached) is actually the memory used by the application. + Buffers/cache memory: 7071624 (equal to 1st rows free + buffers + cached), which is the remaining memory for the application. Note: The positive and negative numbers www.2cto.com show that-buffers/cache reflect the memory actually eaten by the program, while the + buffers/cache reflects the total number of memories that can be used. For the operating system, buffers/cached are both used, so it is considered that free is only 27824. for applications (-/+ buffers/cach ). buffers/cached is equivalent to available, because buffer/cached is used to improve the performance of program execution. When the program uses memory, buffer/cached will be quickly used. The third line is the swap partition swap, which lists used and idle swap. therefore, in linux, as long as the swap space of swap is not used, we don't have to worry about having too little memory. if many swap instances are used, you may need to add physical memory. this is also the Standard for linux to check whether the memory is sufficient.

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.