How to clean system to speed up in linux

Clear PageCache only.

# sync; echo 1 > /proc/sys/vm/drop_caches


Clear dentries and inodes.

# sync; echo 2 > /proc/sys/vm/drop_caches


Clear PageCache, dentries and inodes.

# sync; echo 3 > /proc/sys/vm/drop_caches 



https://www.tecmint.com/clear-ram-memory-cache-buffer-and-swap-space-on-linux/ 

Comments

Popular posts from this blog

How to run react project after cloning from git repo

How to start React,Angular and Node Apps