soscmd/soscmd-dropcache
2023-06-03 11:28:50 +02:00

5 lines
132 B
Bash
Executable file

#!/bin/bash
echo ":: Flushing file cache to disk"
sync;sync
echo ":: Erasing file cache"
echo 3>/proc/sys/vm/drop_caches&>/dev/null