RedhatlinuxAS4 has fewer and fewer memory-Linux Enterprise applications-Linux server application information. For more information, see the following. First, the principle of memory usage in Linux is to "maximize the use of physical memory". During the running process, the frequently used data is stored in the memory as much as possible to be used for the next time.
How is the application's available memory calculated:
# Free-m
Total used free shared buffers cached
Mem: 1000 900 100 0 350 350
-/+ Buffers/cache: 200 800
In this example, the application only uses MB of memory and MB of idle memory.
Some simple calculation methods:
Physical memory used = actual memory used-buffer-Cache
Physical idle memory = total physical memory-actually used memory + buffer + Cache
Available idle memory for applications = total physical memory-actually used memory
Application memory used = actual memory used-buffer-Cache
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.