-- Leo's gemini proxy

-- Connecting to iceworks.cc:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Clear RAM Memory Cache, Buffer and Swap Space on Linux

Created: 2022-08-31T12:26:38-05:00

Return to the Index

This card pertains to a resource available on the internet.


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

If you want to clear Swap space, you may like to run the below command.

swapoff -a && swapon -a

-- Response ended

-- Page fetched on Mon May 20 20:50:07 2024