Ubuntu Server 12.04 Out of memory(2)

有两种方法查看 low memory 和 high memory 的状态:

# egrep 'High|Low' /proc/meminfo  HighTotal:     5111780 kB  HighFree:         1172 kB  LowTotal:       795688 kB  LowFree:         16788 kB    # free -lm               total       used       free     shared    buffers     cached  Mem:          5769       5751         17          0          8       5267  Low:           777        760         16          0          0          0  High:         4991       4990          1          0          0          0  -/+ buffers/cache:        475       5293  Swap:         4773          0       4773 

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/d81a185ba91408dce28a749499363320.html