linux命令free用来查看内存,内存信息是很重要,这个必须要学一下。
total 总共的,used已经使用,free空闲的,shared共享的,buff/cache缓存,available可用的
total = used + free + buff/cache
avalilable < free + buff/cache 因为只有一部分cache可供应用程序用
swap对应的是虚拟内存
linux命令free用来查看内存,内存信息是很重要,这个必须要学一下。
total 总共的,used已经使用,free空闲的,shared共享的,buff/cache缓存,available可用的
total = used + free + buff/cache
avalilable < free + buff/cache 因为只有一部分cache可供应用程序用
swap对应的是虚拟内存