sync;echo 3 >/proc/sys/vm/drop_caches
关闭swap
# 关闭swapoff,关闭循环后,交换操作至少要等待40秒 swapoff -a # 开启swap swapon -a
标签:缓存,主机,Linux,swap,关闭,swapoff From: https://www.cnblogs.com/gkhost/p/17813248.html
sync;echo 3 >/proc/sys/vm/drop_caches
关闭swap
# 关闭swapoff,关闭循环后,交换操作至少要等待40秒 swapoff -a # 开启swap swapon -a
标签:缓存,主机,Linux,swap,关闭,swapoff From: https://www.cnblogs.com/gkhost/p/17813248.html