linux view memory command free. However, the actual use of linux memory, and the literal meaning of the output is still somewhat different, the real memory available to linux is not directly seen by the free item. As follows:
[root@dbrg-1 ~]# freetotal used free shared buffers cachedMem: 319844 83632 236212 0 19128 46116-/+ buffers/cache: 18388 301456Swap: 2096472 0 2096472
total Total memory
used Number of used memory
free Free memory
shared Total memory shared by multiple processes
buffers Buffer Cache and cached Page Cache Size of Disk Cache
Swap Virtual Memory
[Note] The meaning of used/free for red and blue lines is different. The red line is from a system perspective, buffers/cached are all used, blue lines are from the application point of view, for applications, buffers/cached is equal to available, because buffer/cached is for Improve the performance of file reading, when the application needs to use memory, buffer /cached will be quickly recycled.
For the Mem line: total = used + free ((319844 = 83632 + 236212 )
for the -/+ buffers/cache line:
total = used + free ( 319844 = 18388 + 301456)
used = used + buffers + cached (83632 = 18388 + 19128 + 46116 )
Transfer:
To improve disk access efficiency, Linux Some elaborate design, in addition to caching dentry (for VFS, speed up file path name to inode conversion), also adopted two main Cache methods: Buffer Cache and Page Cache. The former for disk block read and write, The latter reads and writes to file inodes. These Caches effectively reduce the time of I/O system calls (such as read, write, getdents).
In daily work or experiment, we often need to clone or migrate the virtual machine. After the migra
When doing the experiment, we burned the bin file into the SD card, such as the previous assembly fl
In the existing embedded LINUX system development process, all engineers are tired
When we write the shell, there will be such a scene: For example: I want to back up the passwd fil
Fedora configuration problem under Fedora Linux
Briefly explain the four intrusion levels for Linux servers
Batch replacement of file contents under Linux system
Grub and NT Loader boot menu under Linux
LINUX system disk space full clear method
Teach you to query the time when installing Win7 system
Rel5 under the transparent proxy configuration tutorial
Three ways to run PHP under Linux
Linux system management and maintenance - telnet command
Three lightweight WebServer--lighttpd, thttpd, shttpd introduction
Win8 dedicated to the fans of the news subscription application
After Win10 update, the boot becomes very slow and it takes 30 seconds.
What should I do if the Win10 system computer mouse clicks on the folder does not respond?
Microsoft and Adobe cooperate to develop Win10 Spartan browser
How does Win10 start to disable the cloud storage service OneDrive sync?
How to recover Windows 7 notes delete tips
Video! Uncover 5 little secrets that WinXP doesn't know (2)
Solve the Windows 8 system disk usage is too much 100% or 99%
The latest beta version of Win8 will go to Windows Development Review