When Linux is booted, use the top command to view that 4G physical memory has been used up to 3.2G, and the occupancy rate is over 80%:
Mem: 3889836k total, 3341868k used, 547968k free, 286044k buffers
Swap: 6127608k total, 0k used, 6127608k free, 1554888k cached
The red number part above, use free to view the results as follows:
[root@rd01 ~]# free -m
total used free shared buffers cached
Mem: 3798 3264 534 0 279 1518
-/+ buffers/cache: 1466 2332
Swap : 5983 0 5983 The red digital part has been using the memory and it is already 3264M. Does it mean that the system memory really takes up so much? It only runs a website, it is impossible to take up so much! Pay attention to the blue bottom part. This part indicates the memory used by the system cache. This part of the memory can be allocated to the process at any time. Therefore, the real remaining memory should be free under 534+2332=2866M, so the remaining physical memory should be 2866M. Not 534M.
Therefore, the memory that is currently being used by the process is used-used-(buffers+cache). It can also be considered that if the swap is not used in a large amount, the mem is still sufficient, and only the mem is actually occupied by the current process ( Without buffers and cache), swap will be used.
If the liunx system is started, I just said about it, but the specific process is not well understo
In order to ensure the normal operation of the Linux system and accurately solve various system prob
One serial port control Usually we use direct serial port for video server, video recorder, switcher
cat: display file content from the first line; nl: output line number when displayed; more: one
Linux cache memory Cache Memory detailed
About the start of the embedded system (SHARE FOR ALL)
Xen virtual machine installation practice
Learn seven points of advice using Linux systems
Putty connected to the virtual machine Centos appeared: Network error: Connection refused
Delete file and folder directory commands under Linux
VMware vCenter Converter Standalone converts Linux troubleshooting
Better wireless support Linux kernel upgrade 2.6.117
Neighbor subsystem of linux protocol stack (related process 6)
CentOS6 how to set up ADSL Internet
QQ video audio advantages? How to watch video with QQ video?
Uninstalling the cracked version of DreamWorks
Share: windows8 comes with Chinese input method
Win10 Xiaona icon how to replace
The reason why the memory of the win7 system always indicates the lack of memory and the solution
Win10 system disk cleaning function startup and shutdown method
How to encrypt the hard disk in win7 system
Windows 10 system rearranges the program in the start menu (normal method does not work)
Win10 system can not open the software prompt file lost how to solve