Ubuntu free and linux memory usage

Source: Internet
Author: User
Ubuntu free and linux memory usage-Linux general technology-Linux programming and kernel information. For more information, see the following. -Bash-3.00 $ free

Total used free shared buffers cached

Mem: 514020 465932 48088 0 15864 348844

-/Buffers/cache: 101224 412796

Swap: 2096440 94916 2001524

Total physical memory: 512 mb used 455 MB shard: the memory shared by multiple processes is 0, and the disk cache size is 340 MB.

The difference between used/free in the second row (mem) and used/free in the third row (-/buffers/cache.

The difference between the two is that from the usage perspective, the second line is from the OS perspective, because for OS, buffers/cached is used, so its available memory is 15864KB, memory in use is 932kb, including buffers cached used by the kernel (OS) using Application (X, oracle, etc.

The third line indicates that, from the application perspective, for applications, buffers/cached is equivalent to available, because buffer/cached is designed to improve file read performance, when the application needs to use the memory, buffer/cached will be quickly recycled.

From the application perspective, the available memory = system free memory buffers cached.

Therefore, linux memory used memory is normal, different from windows.
Related Article

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.