Answers for "clear ram cache linux"

5

linux memory cache clear

# 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
Posted by: Guest on July-01-2020
6

clear ram linux

sudo sync; echo 3 > /proc/sys/vm/drop_caches
Posted by: Guest on April-29-2020
0

clear ram cache ubuntu

sync && echo 3 | sudo tee /proc/sys/vm/drop_caches
Posted by: Guest on January-12-2021
0

clear ram cache linux

sync; echo 1 > /proc/sys/vm/drop_caches
Posted by: Guest on February-23-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language