原文作者:Gustavo Duarte 原文地址:http://duartes.org/gustavo/blog/post/what-your-computer-does-while-you-wait Page Cache, the Affair Between Memory and Files 工作于内存和文件之间的页缓存 Previously we looked at how the kernel manages virtual memory for a user process, but
1.linux下查看CPU及内存占用情况 查看内存占用百分比: [root@rusky ~]# free -m | sed -n '2p' | awk '{print "used mem is "$3"M,total mem is "$2"M,used percent is "$3/$2*100"%"}' used mem is 15765M,total mem is 15949M,used percent is 98.846